From: Joe Wreschnig Date: Thu, 18 Mar 2010 08:40:09 +0000 (-0700) Subject: Wait: Actually don't do anything special for wait frames of 0, as break-now-continue... X-Git-Url: https://git.yukkurigames.com/?a=commitdiff_plain;ds=inline;h=bbceff0f5dafcfc18237d391da56790b57b74eee;hp=72d08f5c5c38da987a496f344e88e51fb956d6a6;p=python-bulletml.git Wait: Actually don't do anything special for wait frames of 0, as break-now-continue-immediately-next-frame is useful. --- diff --git a/bulletml/impl.py b/bulletml/impl.py index 8508896..0548b9d 100644 --- a/bulletml/impl.py +++ b/bulletml/impl.py @@ -245,8 +245,7 @@ class Action(object): elif isinstance(action, parser.Wait): self.wait_frames = action(s_params, rank) - if self.wait_frames: - break + break elif isinstance(action, parser.Vanish): owner.vanish()