Improve bullet hit detection
This commit is contained in:
+1
-1
@@ -168,7 +168,7 @@ hitEffFromBul w bu = case _buEffect bu of
|
||||
DestroyBullet -> expireAndDamage bu hitstream w
|
||||
where
|
||||
sp = _buPos bu
|
||||
hitstream = thingsHitZ 20 sp (sp + _buVel bu) w
|
||||
hitstream = thingsHitZ' 20 sp (sp + _buVel bu) w
|
||||
|
||||
getBulHitDams :: Bullet -> Point2 -> [Damage]
|
||||
getBulHitDams bu p = case _buPayload bu of
|
||||
|
||||
Reference in New Issue
Block a user