nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3b13a8
)
shoot: headless run forces a `srand_from(0)`
author
Jean Privat
<jean@pryen.org>
Mon, 17 Nov 2014 18:45:51 +0000
(13:45 -0500)
committer
Jean Privat
<jean@pryen.org>
Mon, 17 Nov 2014 18:45:51 +0000
(13:45 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>
examples/shoot/src/shoot_logic.nit
patch
|
blob
|
history
diff --git
a/examples/shoot/src/shoot_logic.nit
b/examples/shoot/src/shoot_logic.nit
index
838c78b
..
824af57
100644
(file)
--- a/
examples/shoot/src/shoot_logic.nit
+++ b/
examples/shoot/src/shoot_logic.nit
@@
-1052,6
+1052,7
@@
end
fun headless_run
do
+ srand_from 0
print "Headless run"
# Only run the playscene
var scene = new PlayScene(80000,60000)