changeset 194:efa847ee8b3c

Fix ECL function calls
author Thibaut Girka <thib@sitedethib.com>
date Fri, 28 Oct 2011 23:07:45 +0200
parents 9f58e2a6e950
children 52c0b9399413
files pytouhou/vm/eclrunner.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py
+++ b/pytouhou/vm/eclrunner.py
@@ -449,7 +449,7 @@ class ECLRunner(object):
         self.frame = 0
         self.instruction_pointer = 0
         self.variables[0] = param1
-        self.variables[1] = param2
+        self.variables[4] = param2
 
 
     @instruction(36)