comparison 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
comparison
equal deleted inserted replaced
490:1b532e7dd521 491:2276229282fd
111 def display_text(self, side, index, text): 111 def display_text(self, side, index, text):
112 if index == 0: 112 if index == 0:
113 self._game.texts[0] = None 113 self._game.texts[0] = None
114 self._game.texts[1] = None 114 self._game.texts[1] = None
115 self._game.texts[index] = self._game.new_native_text((64, 372 + index * 24), text) 115 self._game.texts[index] = self._game.new_native_text((64, 372 + index * 24), text)
116 self._game.texts[index].set_timeout(-1, effect='fadeout', duration=15) 116 self._game.texts[index].set_timeout(0, effect='fadeout', duration=15)
117 117
118 118
119 @instruction(4) 119 @instruction(4)
120 def pause(self, duration): 120 def pause(self, duration):
121 if not (self.skipping and self.allow_skip): 121 if not (self.skipping and self.allow_skip):