Add dust on bullet wall hit
This commit is contained in:
+2
-2
@@ -124,9 +124,9 @@ updateSoundQueue :: World -> World
|
||||
updateSoundQueue = set sounds M.empty
|
||||
|
||||
updateLightSources :: World -> World
|
||||
updateLightSources w = set tempLightSources (catMaybes tlss) w'
|
||||
updateLightSources w = set tempLightSources tlss w
|
||||
where
|
||||
(w',tlss) = mapAccumR (\a b -> _tlsUpdate b a b) w $ _tempLightSources w
|
||||
tlss = mapMaybe (\b -> _tlsUpdate b w b) $ _tempLightSources w
|
||||
|
||||
updateProjectiles :: World -> World
|
||||
updateProjectiles w = IM.foldl' (flip $ dbArg _pjUpdate) w $ _projectiles w
|
||||
|
||||
Reference in New Issue
Block a user