Mercurial > touhou
diff pytouhou/vm/eclrunner.py @ 144:cadfc5e5ad7a
Fix a stupid inversion of properties.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 30 Sep 2011 11:19:33 -0700 |
parents | a9d46c4b5764 |
children | a61c96265779 |
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py +++ b/pytouhou/vm/eclrunner.py @@ -285,7 +285,7 @@ class ECLRunner(object): @instruction(9) - def set_random_float2(self, variable_id, minval, amp): + def set_random_float2(self, variable_id, amp, minval): self._setval(variable_id, self._getval(minval) + self._getval(amp) * self._game_state.prng.rand_double())