From fd5a5be76ae75be6a7551e119e6cc1dcdcf90b07 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 10 Mar 2009 05:37:27 +0000 Subject: [PATCH] - Fixed what looks like an incorrect comparison in thingdef_states.cpp. SVN r1467 (trunk) --- src/thingdef/thingdef_states.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thingdef/thingdef_states.cpp b/src/thingdef/thingdef_states.cpp index 9c88e87d9..500e215f3 100644 --- a/src/thingdef/thingdef_states.cpp +++ b/src/thingdef/thingdef_states.cpp @@ -325,7 +325,7 @@ do_stop: sc.ScriptError("Negative jump offsets are not allowed"); } - if (x > 0) + if (v > 0) { x = new FxStateByIndex(bag.statedef.GetStateCount() + v, sc); }