Tweak creature update
This commit is contained in:
@@ -27,7 +27,7 @@ updateLampoid cr w = case cr ^?! crType . lampLSID of
|
||||
| otherwise ->
|
||||
w
|
||||
& cWorld . lWorld . lightSources . ix i . lsParam . lsPos .~ addZ h cpos
|
||||
& doDamage cr
|
||||
& doDamage (cr ^. crID)
|
||||
where
|
||||
cpos = _crPos cr
|
||||
cid = _crID cr
|
||||
|
||||
Reference in New Issue
Block a user