- Fixed: Some non-POD arguments to printf and a typo in the GCC portion of dobject.h.

SVN r101 (trunk)
This commit is contained in:
Randy Heit 2006-05-10 03:29:07 +00:00
commit c70ba60fd6
3 changed files with 5 additions and 5 deletions

View file

@ -439,15 +439,15 @@ static void ParseDecorate (void (*process)(FState *, int))
info->NumOwnedStates = states.Size();
if (info->NumOwnedStates == 0)
{
SC_ScriptError ("%s does not define any animation frames", typeName );
SC_ScriptError ("%s does not define any animation frames", typeName.GetChars() );
}
else if (extra.SpawnEnd == 0)
{
SC_ScriptError ("%s does not have a Frames definition", typeName );
SC_ScriptError ("%s does not have a Frames definition", typeName.GetChars() );
}
else if (def == DEF_BreakableDecoration && extra.DeathEnd == 0)
{
SC_ScriptError ("%s does not have a DeathFrames definition", typeName );
SC_ScriptError ("%s does not have a DeathFrames definition", typeName.GetChars() );
}
else if (extra.IceDeathEnd != 0 && extra.bGenericIceDeath)
{