Mercurial > touhou
diff pytouhou/vm/eclrunner.py @ 105:572740acdb25
A few changes in the execution order to match 102h.exe
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Mon, 05 Sep 2011 17:18:47 +0200 |
parents | 789994275968 |
children | c7847bfed427 |
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py +++ b/pytouhou/vm/eclrunner.py @@ -77,7 +77,9 @@ class ECLMainRunner(object): if z < -990: #102h.exe@0x411881 y = self._game_state.prng.rand_double() * 800 enemy = self._new_enemy_func((x, y), life, instr_type) - self.processes.append(ECLRunner(self._ecl, sub, enemy, self._game_state)) + process = ECLRunner(self._ecl, sub, enemy, self._game_state) + self.processes.append(process) + process.run_iteration()