diff --git a/source/duke3d/src/player.cpp b/source/duke3d/src/player.cpp index 1510941b3..ef3bb6ab1 100644 --- a/source/duke3d/src/player.cpp +++ b/source/duke3d/src/player.cpp @@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "duke3d.h" #include "demo.h" -#include "sjson.h" +//#include "sjson.h" #include "gamecvars.h" #include "d_event.h" #include "i_specialpaths.h" @@ -5637,7 +5637,7 @@ RECHECK: } - +#if 0 // Once the save format has been transitioned to something more robust, this won't be needed anymore. int portableBackupSave(const char * path, const char * name, int volume, int level) { if (!FURY) @@ -5747,4 +5747,5 @@ int portableBackupSave(const char * path, const char * name, int volume, int lev return 0; } +#endif END_DUKE_NS diff --git a/source/duke3d/src/savegame.cpp b/source/duke3d/src/savegame.cpp index 019a84e50..bc98acb2c 100644 --- a/source/duke3d/src/savegame.cpp +++ b/source/duke3d/src/savegame.cpp @@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "premap.h" #include "prlights.h" #include "savegame.h" -#include "sjson.h" +//#include "sjson.h" #include "i_specialpaths.h" #include "gamecontrol.h" #include "version.h" @@ -161,6 +161,7 @@ int32_t G_LoadPlayer(FSaveGameNode *sv) { char workbuffer[BMAX_PATH]; +#if 0 if (sv->bIsExt) { int volume = -1; @@ -395,6 +396,7 @@ int32_t G_LoadPlayer(FSaveGameNode *sv) FinishSavegameRead(); return 0; } +#endif auto fil = OpenSavegame(); @@ -530,7 +532,7 @@ bool G_SavePlayer(FSaveGameNode *sv) VM_OnEvent(EVENT_SAVEGAME, g_player[myconnectindex].ps->i, myconnectindex); - portableBackupSave(sv->Filename, sv->SaveTitle, ud.last_stateless_volume, ud.last_stateless_level); + //portableBackupSave(sv->Filename, sv->SaveTitle, ud.last_stateless_volume, ud.last_stateless_level); // SAVE! sv_saveandmakesnapshot(fw, 0);