Commit before apply different damage amounts to different materials
This commit is contained in:
+1
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user