- Fixed: The DECORATE parser was missing some 'break's.

SVN r1314 (trunk)
This commit is contained in:
Christoph Oelckers 2008-12-07 21:35:56 +00:00
parent 11d1c41873
commit 34ab6ba862

View file

@ -1076,14 +1076,17 @@ void ParseDecorate (FScanner &sc)
else if (sc.Compare("PICKUP")) else if (sc.Compare("PICKUP"))
{ {
ParseOldDecoration (sc, DEF_Pickup); ParseOldDecoration (sc, DEF_Pickup);
break;
} }
else if (sc.Compare("BREAKABLE")) else if (sc.Compare("BREAKABLE"))
{ {
ParseOldDecoration (sc, DEF_BreakableDecoration); ParseOldDecoration (sc, DEF_BreakableDecoration);
break;
} }
else if (sc.Compare("PROJECTILE")) else if (sc.Compare("PROJECTILE"))
{ {
ParseOldDecoration (sc, DEF_Projectile); ParseOldDecoration (sc, DEF_Projectile);
break;
} }
default: default:
// without the option of game filters following, anything but an opening brace // without the option of game filters following, anything but an opening brace