From 81487f4a691c1e3a99ca6cb4de2720f51ebff936 Mon Sep 17 00:00:00 2001 From: Braden Obrzut Date: Sun, 28 Apr 2013 18:00:41 +0000 Subject: [PATCH] - Fixed: noextratic fix skipped over infinite duration states. SVN r4232 (trunk) --- src/p_mobj.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 9b697863d..be73f0951 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -3504,7 +3504,7 @@ void AActor::Tick () int newtics; do { - newtics = --tics; + newtics = tics--; // [RH] Use tics <= 0 instead of == 0 so that spawnstates // of 0 tics work as expected. @@ -3520,7 +3520,7 @@ void AActor::Tick () return; // freed itself } } - while (newtics < 0); + while (newtics == 0); } else {