From 99fc685a0170de6d023089c41269eda7c33e57e7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 2 May 2015 22:57:29 +0200 Subject: [PATCH] - allow linefeed before braces starting a compound state action definition. --- 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 4696b7e57..a44fa1ed1 100644 --- a/src/thingdef/thingdef_states.cpp +++ b/src/thingdef/thingdef_states.cpp @@ -253,7 +253,7 @@ do_stop: state.TicRange = 0; } - while (sc.GetString() && !sc.Crossed) + while (sc.GetString() && (!sc.Crossed || sc.Compare("{"))) { if (sc.Compare("BRIGHT")) {