FindSpecVolIndex matching

This commit is contained in:
Dethrace Labs 2026-01-24 07:25:43 +13:00
parent ab10f45323
commit 6165a47900
1 changed files with 1 additions and 1 deletions

View File

@ -1824,7 +1824,7 @@ int FindSpecVolIndex(br_actor* pActor) {
int i;
tSpecial_volume* v;
for (i = 0; i < gProgram_state.special_volume_count; i++) {
for (i = 0, v = gProgram_state.special_volumes; i < gProgram_state.special_volume_count; i++, v++) {
if (gSpec_vol_actors[i] == pActor) {
return i;
}