From 64fe29bf0ee1a447f652aefc51f7dd8be3993324 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 17 Apr 2010 02:42:50 +0000 Subject: [PATCH] - Fixed crash when parsing invalid DECALDEF lumps. SVN r2284 (trunk) --- src/decallib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decallib.cpp b/src/decallib.cpp index d20adc921..bfcc1ac14 100644 --- a/src/decallib.cpp +++ b/src/decallib.cpp @@ -403,7 +403,7 @@ void FDecalLib::ReadDecals(FScanner &sc) } else { - sc.MustGetStringName(NULL); + sc.ScriptError("Unknown decaldef keyword '%s'", sc.String); } } }