diff pytouhou/vm/eclrunner.py @ 329:1bb78c469f64

Fix difficulty influence on bullet launch interval, and fix instruction 77's rand usage
author Thibaut Girka <thib@sitedethib.com>
date Sun, 24 Jun 2012 17:00:07 +0200
parents 1a4ffdda8735
children 94fdb6c782c1
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py
+++ b/pytouhou/vm/eclrunner.py
@@ -647,7 +647,7 @@ class ECLRunner(object):
 
     @instruction(77)
     def set_bullet_interval_ex(self, value):
-        self._enemy.set_bullet_launch_interval(value, self._game.prng.rand_double()) #TODO: check
+        self._enemy.set_bullet_launch_interval(value, self._game.prng.rand_uint32())
 
 
     @instruction(78)