- 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:
parent
8d4912f4af
commit
738e8ca7ad
6 changed files with 8 additions and 3 deletions
|
|
@ -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]];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue