Mercurial > touhou
changeset 74:adac26098408
Handle variables in set_pos instruction (Daiyousei...)
| author | Thibaut Girka <thib@sitedethib.com> |
|---|---|
| date | Sun, 28 Aug 2011 11:20:35 +0200 |
| parents | e4af16a019d3 |
| children | b3bd421bb895 |
| files | pytouhou/vm/eclrunner.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py Sun Aug 28 11:20:16 2011 +0200 +++ b/pytouhou/vm/eclrunner.py Sun Aug 28 11:20:35 2011 +0200 @@ -314,7 +314,7 @@ @instruction(43) def set_pos(self, x, y, z): - self._enemy.set_pos(x, y, z) + self._enemy.set_pos(self._getval(x), self._getval(y), self._getval(z)) @instruction(45)
