Restricted custom goodbyes to ZSDF

This commit is contained in:
FishyClockwork 2016-10-30 20:27:07 +01:00 committed by GitHub
parent 1502eae2ac
commit 7c1f7aa81c

View file

@ -345,7 +345,11 @@ class USDFParser : public UDMFParserBase
break;
case NAME_Goodbye:
Goodbye = CheckString(key);
// Custom goodbyes are exclusive to namespace ZDoom. [FishyClockwork]
if (namespace_bits == Zd)
{
Goodbye = CheckString(key);
}
break;
}
}