mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 17:22:12 +00:00
Adapt emblem tags to UDMF
This commit is contained in:
parent
cbebdc219d
commit
4b58b45b5f
2 changed files with 3 additions and 2 deletions
|
@ -12095,7 +12095,7 @@ static boolean P_SetupEmblem(mapthing_t *mthing, mobj_t *mobj)
|
|||
|
||||
while (emblem)
|
||||
{
|
||||
if ((emblem->type == ET_GLOBAL || emblem->type == ET_SKIN) && emblem->tag == mthing->angle)
|
||||
if ((emblem->type == ET_GLOBAL || emblem->type == ET_SKIN) && emblem->tag == Tag_FGet(&mthing->tags))
|
||||
break;
|
||||
|
||||
emblem = M_GetLevelEmblems(-1);
|
||||
|
@ -12103,7 +12103,7 @@ static boolean P_SetupEmblem(mapthing_t *mthing, mobj_t *mobj)
|
|||
|
||||
if (!emblem)
|
||||
{
|
||||
CONS_Debug(DBG_GAMELOGIC, "No map emblem for map %d with tag %d found!\n", gamemap, mthing->angle);
|
||||
CONS_Debug(DBG_GAMELOGIC, "No map emblem for map %d with tag %d found!\n", gamemap, Tag_FGet(&mthing->tags));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -3123,6 +3123,7 @@ static void P_AddBinaryMapTags(void)
|
|||
switch (mapthings[i].type)
|
||||
{
|
||||
case 291:
|
||||
case 322:
|
||||
case 750:
|
||||
case 760:
|
||||
case 761:
|
||||
|
|
Loading…
Reference in a new issue