DelGrooveRef effectively matching

This commit is contained in:
Dethrace Labs 2026-02-09 21:59:50 +13:00
parent e214e77e05
commit 1b120074d9
1 changed files with 1 additions and 2 deletions

View File

@ -4775,8 +4775,7 @@ br_uint_32 DelGrooveRef(br_actor* pActor, void* pArg) {
tGroovidelic_spec* the_groove;
int i;
for (i = 0; i < gGroovidelics_array_size; i++) {
the_groove = &gGroovidelics_array[i];
for (i = 0, the_groove = gGroovidelics_array; i < gGroovidelics_array_size; i++, the_groove++) {
if (the_groove->actor == pActor) {
the_groove->owner = NO_OWNER;
}