fix some string sizes to be MAX_PATH

This commit is contained in:
withmorten
2021-06-30 16:23:44 +02:00
parent 22e8e0eff8
commit 3383d8c6e7
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -487,7 +487,11 @@ GetNameOfSavedGame(int32 slot)
bool
CheckDataNotCorrupt(int32 slot, char *name)
{
#ifdef FIX_BUGS
char filename[MAX_PATH];
#else
char filename[100];
#endif
int32 blocknum = 0;
eLevelName level = LEVEL_GENERIC;