From 34ab6ba862f4821e8ee01ca934a46aa084567d1c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 7 Dec 2008 21:35:56 +0000 Subject: [PATCH] - Fixed: The DECORATE parser was missing some 'break's. SVN r1314 (trunk) --- src/thingdef/thingdef_parse.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/thingdef/thingdef_parse.cpp b/src/thingdef/thingdef_parse.cpp index 3b6577065d..6c4d392c32 100644 --- a/src/thingdef/thingdef_parse.cpp +++ b/src/thingdef/thingdef_parse.cpp @@ -1076,14 +1076,17 @@ void ParseDecorate (FScanner &sc) else if (sc.Compare("PICKUP")) { ParseOldDecoration (sc, DEF_Pickup); + break; } else if (sc.Compare("BREAKABLE")) { ParseOldDecoration (sc, DEF_BreakableDecoration); + break; } else if (sc.Compare("PROJECTILE")) { ParseOldDecoration (sc, DEF_Projectile); + break; } default: // without the option of game filters following, anything but an opening brace