Commit before apply different damage amounts to different materials

This commit is contained in:
2025-10-24 09:28:09 +01:00
parent 8f17582889
commit b2265297b5
6 changed files with 71 additions and 104 deletions
+1 -3
View File
@@ -250,7 +250,6 @@ functionalUpdate =
. over uvWorld updateCreatureSoundPositions
. colCrsWalls
. over uvWorld simpleCrSprings
-- . over uvWorld (updateIMl' (_doors . _lWorld . _cWorld) updateDoor)
. over uvWorld updateDoors
. over uvWorld doWorldEvents
. over uvWorld updateDelayedEvents
@@ -290,8 +289,7 @@ functionalUpdate =
-- creatures should be updated early so that crOldPos is set before any position change
. over (uvWorld . cWorld . lWorld . creatures) (fmap setOldPos)
. over uvWorld updateCreatureGroups
. over uvWorld updateWallDamages
-- . over uvWorld updateSeenWalls
. over uvWorld updateWallDamages -- can potentially be combined in some way with update doors so that only one pathing update needs to be done...
. over uvWorld checkTermDist
. over uvWorld updateRBList
. over uvWorld updateCloseObjects