Remove expr/stmt (#5857)
This commit is contained in:
parent
52ff244d5d
commit
000b8afd26
168 changed files with 497 additions and 529 deletions
|
|
@ -212,9 +212,10 @@ proc free(obj: PLiveBullet) =
|
|||
obj.record = nil
|
||||
|
||||
|
||||
template newExplosion(obj, animation): stmt =
|
||||
template newExplosion(obj, animation) =
|
||||
explosions.add(newAnimation(animation, AnimOnce, obj.body.getPos.cp2sfml, obj.body.getAngle))
|
||||
template newExplosion(obj, animation, angle): stmt =
|
||||
|
||||
template newExplosion(obj, animation, angle) =
|
||||
explosions.add(newAnimation(animation, AnimOnce, obj.body.getPos.cp2sfml, angle))
|
||||
|
||||
proc explode*(b: PLiveBullet) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue