From 2d1ad947cd9ebb183d63b062132fa4df11e8bc61 Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Tue, 16 Mar 2010 21:56:54 -0700 Subject: [PATCH] Fire, relative: I'm certain the reference implementation is wrong. --- bulletml/impl.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bulletml/impl.py b/bulletml/impl.py index af3f153..9df26c6 100644 --- a/bulletml/impl.py +++ b/bulletml/impl.py @@ -147,8 +147,11 @@ class Action(object): if type == "sequence": speed += self.previous_fire_speed elif type == "relative": - # FIXME(jfw): Reference impl uses prvFireSpeed - # here? That doesn't seem right at all. + # The reference Noiz implementation uses + # prvFireSpeed here, but the standard is + # pretty clear -- "0 means that the direction + # of this fire and the direction of the bullet + # are the same". speed += self.owner.speed else: speed = 1 -- 2.20.1