Turns out modifiedgame was getting set during startup because of making it use G_SetGameModified. Uh, woops?
This commit is contained in:
1 parent
dda94e4498
commit
15aafb00a9
2 files changed
+1
-2
No files matched your search
@@ -1253,7 +1253,6 @@ void D_SRB2Main(void)
|
||||
#endif //ifndef DEVELOP
|
||||
|
||||
mainwadstally = packetsizetally;
|
||||
majormods = false;
|
||||
|
||||
cht_Init();
|
||||
|
||||
|
||||
+1
-1
@@ -756,7 +756,7 @@ void G_SetNightsRecords(void)
|
||||
// for consistency among messages: this modifies the game and removes savemoddata.
|
||||
void G_SetGameModified(boolean silent, boolean major)
|
||||
{
|
||||
if ((majormods && modifiedgame && !savemoddata) || (refreshdirmenu & REFRESHDIR_GAMEDATA)) // new gamedata amnesty?
|
||||
if ((majormods && modifiedgame && !savemoddata) || !mainwads || (refreshdirmenu & REFRESHDIR_GAMEDATA)) // new gamedata amnesty?
|
||||
return;
|
||||
|
||||
modifiedgame = true;
|
||||
|
||||
Reference in new issue
Block a user