nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rest-of-code: prepare for new init
[nit.git]
/
examples
/
shoot
/
src
/
shoot_logic.nit
diff --git
a/examples/shoot/src/shoot_logic.nit
b/examples/shoot/src/shoot_logic.nit
index
907b8b1
..
3443a47
100644
(file)
--- a/
examples/shoot/src/shoot_logic.nit
+++ b/
examples/shoot/src/shoot_logic.nit
@@
-209,7
+209,7
@@
class Missile
super Shoot
# The target aquired by the missile
- var target: nullable Sprite
+ var target: nullable Sprite = null
# When ttl is 0 then the angle stay fixed
# The angle is updated toward the target if ttl>0