Merge branch 'master' into scripting
Conflicts: src/d_player.h src/g_doom/a_archvile.cpp src/thingdef/thingdef.h src/thingdef/thingdef_properties.cpp
This commit is contained in:
commit
bba092cc0b
44 changed files with 821 additions and 356 deletions
|
|
@ -131,7 +131,8 @@ void ClearSaveGames()
|
|||
{
|
||||
for(unsigned i=0;i<DLoadSaveMenu::SaveGames.Size(); i++)
|
||||
{
|
||||
delete DLoadSaveMenu::SaveGames[i];
|
||||
if(!DLoadSaveMenu::SaveGames[i]->bNoDelete)
|
||||
delete DLoadSaveMenu::SaveGames[i];
|
||||
}
|
||||
DLoadSaveMenu::SaveGames.Clear();
|
||||
}
|
||||
|
|
@ -344,7 +345,7 @@ void DLoadSaveMenu::NotifyNewSave (const char *file, const char *title, bool okF
|
|||
for (unsigned i=0; i<SaveGames.Size(); i++)
|
||||
{
|
||||
FSaveGameNode *node = SaveGames[i];
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
if (node->Filename.Compare (file) == 0)
|
||||
#else
|
||||
if (node->Filename.CompareNoCase (file) == 0)
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ static bool CheckSkipOptionBlock(FScanner &sc)
|
|||
}
|
||||
else if (sc.Compare("unix"))
|
||||
{
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
filter = true;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue