$NetBSD: patch-aa,v 1.2 2005/02/28 04:53:32 ben Exp $
--- Main/Source/game.cpp.orig 2004-12-10 13:10:03.000000000 -0800
+++ Main/Source/game.cpp
@@ -116,7 +116,7 @@ time_t game::TimePlayedBeforeLastLoad;
time_t game::LastLoad;
time_t game::GameBegan;
-festring game::AutoSaveFileName = game::GetSaveDir() + "AutoSave";
+festring game::AutoSaveFileName = game::GetSaveDir() + "/AutoSave";
const char* const game::Alignment[] = { "L++", "L+", "L", "L-", "N+", "N=", "N-", "C+", "C", "C-", "C--" };
god** game::God;
@@ -902,9 +902,9 @@ festring game::SaveName(const festring&
festring SaveName = GetSaveDir();
if(!Base.GetSize())
- SaveName << PlayerName;
+ SaveName << "/" << PlayerName;
else
- SaveName << Base;
+ SaveName << "/" << Base;
for(festring::sizetype c = 0; c < SaveName.GetSize(); ++c)
if(SaveName[c] == ' ')
@@ -2222,7 +2222,7 @@ festring game::GetSaveDir()
{
#ifdef LINUX
festring Dir;
- Dir << getenv("HOME") << "/IvanSave/";
+ Dir << getenv("HOME") << "/IvanSave";
return Dir;
#endif