- allow setting a global dialogue lump through gameinfo.

This commit is contained in:
Christoph Oelckers 2017-02-26 17:22:02 +01:00
commit 3f5ef48dac
3 changed files with 7 additions and 0 deletions

View file

@ -205,6 +205,11 @@ void P_LoadStrifeConversations (MapData *map, const char *mapname)
{
if (!LoadScriptFile (scriptname_b, false, 1))
{
if (gameinfo.Dialogue.IsNotEmpty())
{
if (LoadScriptFile(gameinfo.Dialogue, false, 0)) return;
}
LoadScriptFile ("SCRIPT00", false, 1);
}
}