From e1e7cebd01bbec0e505e2f24b3bd80f15bf52f0c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 1 Jul 2010 20:57:11 +0000 Subject: [PATCH] - fixed: The SBARINFO parser insisted that all player classes being specified have to exist. This, however, made it impossible to redefine the player classes in Hexen. SVN r2401 (trunk) --- src/g_shared/sbarinfo_commands.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/g_shared/sbarinfo_commands.cpp b/src/g_shared/sbarinfo_commands.cpp index 65be83f7d2..9016c24279 100644 --- a/src/g_shared/sbarinfo_commands.cpp +++ b/src/g_shared/sbarinfo_commands.cpp @@ -2398,8 +2398,10 @@ class CommandPlayerClass : public SBarInfoCommandFlowControl break; } } + /* if(!foundClass) sc.ScriptError("Unkown PlayerClass '%s'.", sc.String); + */ if(!sc.CheckToken(',')) break; }