mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed: "Dialogue" in MAPINFO must clear all "AddDialogues" that came before.
This commit is contained in:
parent
08baad6e21
commit
2350780db0
1 changed files with 6 additions and 1 deletions
|
@ -356,6 +356,12 @@ void FMapInfoParser::ParseGameInfo()
|
|||
}
|
||||
else gameinfo.mCheatMapArrow = "";
|
||||
}
|
||||
else if (nextKey.CompareNoCase("dialogue") == 0)
|
||||
{
|
||||
sc.MustGetToken(TK_StringConst);
|
||||
gameinfo.Dialogue = sc.String;
|
||||
gameinfo.AddDialogues.Clear();
|
||||
}
|
||||
// Insert valid keys here.
|
||||
GAMEINFOKEY_STRING(mCheatKey, "cheatKey")
|
||||
GAMEINFOKEY_STRING(mEasyKey, "easyKey")
|
||||
|
@ -437,7 +443,6 @@ void FMapInfoParser::ParseGameInfo()
|
|||
GAMEINFOKEY_FONT(mStatscreenAuthorFont, "statscreen_authorfont")
|
||||
GAMEINFOKEY_BOOL(norandomplayerclass, "norandomplayerclass")
|
||||
GAMEINFOKEY_BOOL(forcekillscripts, "forcekillscripts") // [JM] Force kill scripts on thing death. (MF7_NOKILLSCRIPTS overrides.)
|
||||
GAMEINFOKEY_STRING(Dialogue, "dialogue")
|
||||
GAMEINFOKEY_STRINGARRAY(AddDialogues, "adddialogues", 0, false)
|
||||
GAMEINFOKEY_STRING(statusscreen_single, "statscreen_single")
|
||||
GAMEINFOKEY_STRING(statusscreen_coop, "statscreen_coop")
|
||||
|
|
Loading…
Reference in a new issue