From 8ca2b44ccdf93362de2aa8aecd04b7b2df4f4022 Mon Sep 17 00:00:00 2001 From: Lactozilla Date: Sun, 19 Jan 2025 02:27:50 -0300 Subject: [PATCH] Fix map thing type check in OP_CreateNewMapThing --- src/m_cheat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/m_cheat.c b/src/m_cheat.c index 4be071bb2..aa992621a 100644 --- a/src/m_cheat.c +++ b/src/m_cheat.c @@ -1110,7 +1110,7 @@ static mapthing_t *OP_CreateNewMapThing(player_t *player, UINT16 type, boolean c mt->pitch = mt->roll = 0; // Ignore offsets - if (mt->type == MT_EMBLEM) + if (mt->type == mobjinfo[MT_EMBLEM].doomednum) mt->args[1] = 1; else mt->args[0] = 1;