From 09f873a753ec90a8209f2e1b1a5a20fa5ebb39b6 Mon Sep 17 00:00:00 2001 From: Nev3r Date: Sat, 14 Dec 2019 16:00:47 +0100 Subject: [PATCH] Fix flag reading oversight in textmap mapthings. --- src/p_setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_setup.c b/src/p_setup.c index 4aaa3623e..7a7dc135b 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -1296,8 +1296,8 @@ static void TextmapThing(UINT32 i, char *param) mapthings[i].options |= MTF_OBJECTFLIP; else if (fastcmp(param, "special") && fastcmp("true", M_GetToken(NULL))) mapthings[i].options |= MTF_OBJECTSPECIAL; - else if (fastcmp(param, "ceiling") && fastcmp("true", M_GetToken(NULL))) - mapthings[i].options |= MTF_OBJECTFLIP; + else if (fastcmp(param, "ambush") && fastcmp("true", M_GetToken(NULL))) + mapthings[i].options |= MTF_AMBUSH; } /** From a given position table, run a specified parser function through a {}-encapsuled text.