diff pytouhou/vm/msgrunner.py @ 491:2276229282fd

Fix gcc’s warnings with -Wall -Wextra.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 04 Oct 2013 14:32:28 +0200
parents cae1ae9de430
children 6be9c99a3a24
line wrap: on
line diff
--- a/pytouhou/vm/msgrunner.py
+++ b/pytouhou/vm/msgrunner.py
@@ -113,7 +113,7 @@ class MSGRunner(object):
             self._game.texts[0] = None
             self._game.texts[1] = None
         self._game.texts[index] = self._game.new_native_text((64, 372 + index * 24), text)
-        self._game.texts[index].set_timeout(-1, effect='fadeout', duration=15)
+        self._game.texts[index].set_timeout(0, effect='fadeout', duration=15)
 
 
     @instruction(4)