Fix map thing type check in OP_CreateNewMapThing

This commit is contained in:
Lactozilla 2025-01-19 02:27:50 -03:00
parent f86a7382a6
commit 8ca2b44ccd

View file

@ -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;