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

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1198 \cu(jue 13 mar 2025 14:50:58 CET)\c-";
SWWM_SHORTVER="\cw1.3pre r1198 \cu(2025-03-13 14:50:58)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1198 \cu(vie 14 mar 2025 15:59:42 CET)\c-";
SWWM_SHORTVER="\cw1.3pre r1198 \cu(2025-03-14 15:59:42)\c-";

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;
}