Restrict some arguments
This commit is contained in:
+3
-1
@@ -156,7 +156,7 @@ functionalUpdate w =
|
||||
. over uvWorld updateDistortions
|
||||
. over uvWorld updateCreatureSoundPositions
|
||||
. over uvWorld ppEvents
|
||||
. updateCamera
|
||||
. over uvWorld (updateCamera cfig)
|
||||
. colCrsWalls
|
||||
. over uvWorld simpleCrSprings
|
||||
. over uvWorld zoneCreatures
|
||||
@@ -201,6 +201,8 @@ functionalUpdate w =
|
||||
. over uvWorld updateCloseObjects
|
||||
. over uvWorld updateWheelEvents
|
||||
$ over uvWorld updatePastWorlds w
|
||||
where
|
||||
cfig = _uvConfig w
|
||||
|
||||
updateWheelEvents :: World -> World
|
||||
updateWheelEvents w = foldr ($) w (replicate (abs y) (updateWheelEvent (signum y)))
|
||||
|
||||
Reference in New Issue
Block a user