dont throw a warning about addons with custom gamedata
just ignore it
This commit is contained in:
1 parent
976c74d694
commit
2c3ff3a628
1 file changed
+5
-4
+5
-4
@@ -2554,9 +2554,10 @@ static void readmaincfg(MYFILE *f)
|
||||
{
|
||||
maxXtraLife = (UINT8)get_number(word2);
|
||||
}
|
||||
/*else if (fastcmp(word, "GAMEDATA"))
|
||||
else if (fastcmp(word, "GAMEDATA"))
|
||||
{
|
||||
size_t filenamelen;
|
||||
// just ignore it but dont throw a warning
|
||||
/*size_t filenamelen;
|
||||
|
||||
// Check the data filename so that mods
|
||||
// can't write arbitrary files.
|
||||
@@ -2580,8 +2581,8 @@ static void readmaincfg(MYFILE *f)
|
||||
// can't use sprintf since there is %u in savegamename
|
||||
strcatbf(savegamename, srb2home, PATHSEP);
|
||||
|
||||
refreshdirmenu |= REFRESHDIR_GAMEDATA;
|
||||
}*/
|
||||
refreshdirmenu |= REFRESHDIR_GAMEDATA;*/
|
||||
}
|
||||
else if (fastcmp(word, "RESETDATA"))
|
||||
{
|
||||
P_ResetData(value);
|
||||
|
||||
Reference in new issue
Block a user