Fix massive oopsie in blood pool linked list handling.

This commit is contained in:
Mari the Deer 2025-03-14 15:59:42 +01:00
commit 9060702e19
2 changed files with 3 additions and 3 deletions

View file

@ -906,7 +906,7 @@ Class mkBloodPool : SWWMNonInteractiveActor
if ( nextpool ) nextpool.prevpool = prevpool;
}
let hnd = SWWMHandler(EventHandler.Find('SWWMHandler'));
if ( !hnd ) return;
if ( !hnd || (hnd.bloodpools != self) ) return;
hnd.bloodpools = nextpool;
}