- Fixed non-POD passing in G_BuildSaveName() and other things GCC warned

about.
- Added support for imploded zips.



SVN r1581 (trunk)
This commit is contained in:
Randy Heit 2009-05-15 03:11:44 +00:00
commit b9fa7626bc
14 changed files with 689 additions and 324 deletions

View file

@ -1783,13 +1783,10 @@ FString G_BuildSaveName (const char *prefix, int slot)
{
slash = "/";
}
if (slot < 0)
name.Format("%s%s%s", leader.GetChars(), slash, prefix);
if (slot >= 0)
{
name.Format ("%s%s%s", leader, slash, prefix);
}
else
{
name.Format ("%s%s%s%d.zds", leader, slash, prefix, slot);
name.AppendFormat("%d.zds", slot);
}
#ifdef unix
if (leader[0] == 0)