Simplify props (should they be removed?)
This commit is contained in:
@@ -38,7 +38,6 @@ import Dodge.Machine.Update
|
||||
import Dodge.ModificationEffect
|
||||
import Dodge.Projectile.Update
|
||||
import Dodge.Prop.Moving
|
||||
import Dodge.Prop.Update
|
||||
import Dodge.RadarBlip
|
||||
import Dodge.RadarSweep
|
||||
import Dodge.ScreenPos
|
||||
@@ -275,13 +274,11 @@ functionalUpdate =
|
||||
. over
|
||||
uvWorld
|
||||
(updateIMl' (_linearShockwaves . _lWorld . _cWorld) updateLinearShockwave)
|
||||
. over uvWorld (updateIMl' (_props . _lWorld . _cWorld) updateProp)
|
||||
. over uvWorld (updateIMl' (_projectiles . _lWorld . _cWorld) updateProjectile)
|
||||
. over uvWorld updateClouds
|
||||
. over uvWorld updateDusts
|
||||
. over uvWorld updateGusts
|
||||
. over uvWorld (updateIMl' (_terminals . _lWorld . _cWorld) tmUpdate)
|
||||
-- . updateIMl _machines mcChooseUpdate
|
||||
. over uvWorld (updateIMl' (_machines . _lWorld . _cWorld) updateMachine)
|
||||
. over uvWorld (updateIMl' (_creatures . _lWorld . _cWorld) updateCreature)
|
||||
-- creatures should be updated early so that crOldPos is set before any position change
|
||||
|
||||
Reference in New Issue
Block a user