- 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:
parent
912abc144e
commit
b9fa7626bc
14 changed files with 689 additions and 324 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue