- GCC warning removal.

* This may or may not be a problem, but GCC warned that FStateDefinitions::
    AddStateDefines() does not initialize def.FStateDefine::DefineFlags, so
    I fixed that.


SVN r1262 (trunk)
This commit is contained in:
Randy Heit 2008-10-14 03:21:53 +00:00
commit 738e8ca7ad
6 changed files with 8 additions and 3 deletions

View file

@ -858,7 +858,7 @@ DEFINE_PROPERTY(renderstyle, S, Actor)
if (!strnicmp(str, "style_", 6)) str+=6;
int style = MatchString(str, renderstyles);
if (style < 0) I_Error("Unknown render style '%s'");
if (style < 0) I_Error("Unknown render style '%s'", str);
defaults->RenderStyle = LegacyRenderStyles[renderstyle_values[style]];
}