summaryrefslogtreecommitdiffstats
path: root/src/save/PCSave.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-06-30 16:28:07 +0200
committerwithmorten <morten.with@gmail.com>2021-06-30 16:28:07 +0200
commitabe57fefa01d60aff49cd1e0182e549a8c1bbc8d (patch)
tree556261a4ff73b169858fd56313d1913c88f2d4b0 /src/save/PCSave.cpp
parentFix text in elevator cam (diff)
downloadre3-abe57fefa01d60aff49cd1e0182e549a8c1bbc8d.tar
re3-abe57fefa01d60aff49cd1e0182e549a8c1bbc8d.tar.gz
re3-abe57fefa01d60aff49cd1e0182e549a8c1bbc8d.tar.bz2
re3-abe57fefa01d60aff49cd1e0182e549a8c1bbc8d.tar.lz
re3-abe57fefa01d60aff49cd1e0182e549a8c1bbc8d.tar.xz
re3-abe57fefa01d60aff49cd1e0182e549a8c1bbc8d.tar.zst
re3-abe57fefa01d60aff49cd1e0182e549a8c1bbc8d.zip
Diffstat (limited to '')
-rw-r--r--src/save/PCSave.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/save/PCSave.cpp b/src/save/PCSave.cpp
index 70ca31d2..c9045705 100644
--- a/src/save/PCSave.cpp
+++ b/src/save/PCSave.cpp
@@ -25,7 +25,11 @@ C_PcSave::SetSaveDirectory(const char *path)
bool
C_PcSave::DeleteSlot(int32 slot)
{
+#ifdef FIX_BUGS
+ char FileName[MAX_PATH];
+#else
char FileName[200];
+#endif
PcSaveHelper.nErrorCode = SAVESTATUS_SUCCESSFUL;
sprintf(FileName, "%s%i.b", DefaultPCSaveFileName, slot + 1);