- Moved Strife conversation data into FLevelLocals.

This commit is contained in:
Christoph Oelckers 2019-01-09 02:03:26 +01:00
commit 0a6b6173de
10 changed files with 91 additions and 82 deletions

View file

@ -1968,13 +1968,13 @@ template<> FSerializer &Serialize(FSerializer &arc, const char *key, FStrifeDial
}
else if (val->IsUint())
{
if (val->GetUint() >= StrifeDialogues.Size())
if (val->GetUint() >= level.StrifeDialogues.Size())
{
node = nullptr;
}
else
{
node = StrifeDialogues[val->GetUint()];
node = level.StrifeDialogues[val->GetUint()];
}
}
else