Remove instantBullets
This commit is contained in:
@@ -478,9 +478,10 @@ makeBullet' bu itm cr mz w = makeBullet bu itm bulpos dir . (randGen .~ g) $ w
|
||||
makeBullet :: Bullet -> Item -> Point2 -> Float -> World -> World
|
||||
makeBullet thebullet itm bulpos dir w =
|
||||
w & randGen .~ g''
|
||||
& cWorld . lWorld . instantBullets
|
||||
& cWorld . lWorld . bullets
|
||||
.:~ ( thebullet
|
||||
& buPos .~ bulpos
|
||||
& buOldPos .~ bulpos
|
||||
& buVel %~ (rotateV dir . (muzvel *.*))
|
||||
& buDrag *~ drag
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user