DisposeGroovidelics matching

This commit is contained in:
Dethrace Labs 2026-01-14 19:18:56 +13:00
parent 18802e96a3
commit 4b274b388c
1 changed files with 6 additions and 8 deletions

View File

@ -1501,14 +1501,12 @@ void DisposeGroovidelics(int pOwner) {
int i;
tGroovidelic_spec* the_groove;
if (gGroovidelics_array == NULL) {
return;
}
for (i = 0; i < gGroovidelics_array_size; i++) {
the_groove = &gGroovidelics_array[i];
PossibleService();
if (the_groove->owner == pOwner) {
the_groove->owner = NO_OWNER;
if (gGroovidelics_array != NULL) {
for (i = 0, the_groove = gGroovidelics_array; i < gGroovidelics_array_size; i++, the_groove++) {
PossibleService();
if (the_groove->owner == pOwner) {
the_groove->owner = NO_OWNER;
}
}
}
}