From feaa5c36536ba136b48825690e0b7ce033fa1ad9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 28 Oct 2008 18:10:02 +0000 Subject: [PATCH] - Fixed: The state parser counted one parameter too many for a varargs function. SVN r1280 (trunk) --- docs/rh-log.txt | 1 + src/thingdef/thingdef_states.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 6797680f4..a8036fd34 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,5 @@ October 28, 2008 (Changes by Graf Zahl) +- Fixed: The state parser counted one parameter too many for a varargs function. - Fixed: FStateExpressions could copy unresolved default parameter expressions. When these were resolved and changed later all copied pointers pointed to invalid data. diff --git a/src/thingdef/thingdef_states.cpp b/src/thingdef/thingdef_states.cpp index a20edd461..82c3a4422 100644 --- a/src/thingdef/thingdef_states.cpp +++ b/src/thingdef/thingdef_states.cpp @@ -347,7 +347,6 @@ do_stop: if (varargs) { - varargcount++; paramindex++; } else if (afd->defaultparameterindex > -1)