Support "starpostactivator" in UDMF parameter read, to avoid having to reconvert a bunch of things

This commit is contained in:
toaster 2023-09-01 21:14:33 +01:00
parent 85e6e743d4
commit 76b798d907

View file

@ -1712,7 +1712,7 @@ static void ParseTextmapSectorParameter(UINT32 i, const char *param, const char
sectors[i].specialflags |= SSF_DOUBLESTEPUP;
else if (fastcmp(param, "nostepdown") && fastcmp("true", val))
sectors[i].specialflags |= SSF_NOSTEPDOWN;
else if (fastcmp(param, "cheatcheckactivator") && fastcmp("true", val))
else if ((fastcmp(param, "cheatcheckactivator") || fastcmp(param, "starpostactivator")) && fastcmp("true", val))
sectors[i].specialflags |= SSF_CHEATCHECKACTIVATOR;
else if (fastcmp(param, "exit") && fastcmp("true", val))
sectors[i].specialflags |= SSF_EXIT;