Fix bug with GUI options not set when per-game setting is empty

svn-id: r41273
This commit is contained in:
Eugene Sandulenko 2009-06-06 17:56:59 +00:00
parent 1bd6f6c99f
commit 8eb417e15e

View File

@ -198,7 +198,7 @@ static void updateGameDescriptor(GameDescriptor &desc, const ADGameDescription *
if (params.flags & kADFlagUseExtraAsHint)
desc["extra"] = realDesc->extra;
if (realDesc->guioptions)
if ((realDesc->guioptions | params.guioptions) != 0)
desc["guioptions"] = Common::getGameGUIOptionsDescription(realDesc->guioptions | params.guioptions);
}