From fb8d8dc775708b9c487f3cdbb40a95019adcd519 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Mon, 29 Feb 2016 21:44:12 -0600 Subject: [PATCH] Remove "state" from "Invalid state parameter" error message - It's confusing to see this from inside an anonymous function. Actually, maybe it should be reworded altogether? --- 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 bf48e671d7..4df2759217 100644 --- a/src/thingdef/thingdef_states.cpp +++ b/src/thingdef/thingdef_states.cpp @@ -583,7 +583,7 @@ FxVMFunctionCall *ParseAction(FScanner &sc, FState state, FString statestring, B } return call; } - sc.ScriptError("Invalid state parameter %s\n", sc.String); + sc.ScriptError("Invalid parameter '%s'\n", sc.String); return NULL; }