DEADSOFTWARE

monsters: update cache after load state
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Sat, 18 Dec 2021 22:26:32 +0000 (01:26 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Sat, 18 Dec 2021 22:26:32 +0000 (01:26 +0300)
src/game/g_monsters.pas

index a6e39d1f07215ddf0ac526be15ad345df66bd787..3d9e43d2a279aebff18278c46f3db96cf3a3a373 100644 (file)
@@ -4663,6 +4663,8 @@ begin
       FAnim[i, TDirection.D_RIGHT].LoadState(st);
     end;
   end;
+  // update cache
+  self.positionChanged
 end;