Redundant type 1800 check for MT_COIN

This commit is contained in:
mazmazz 2018-11-27 14:10:55 -05:00
parent 146dd52d24
commit 97ea4086a5
2 changed files with 2 additions and 2 deletions

View file

@ -9995,7 +9995,7 @@ void P_SpawnMapThing(mapthing_t *mthing)
|| mthing->type == mobjinfo[MT_REDTEAMRING].doomednum || mthing->type == mobjinfo[MT_BLUETEAMRING].doomednum
|| mthing->type == mobjinfo[MT_BLUESPHERE].doomednum || mthing->type == mobjinfo[MT_BOMBSPHERE].doomednum
|| (mthing->type >= 600 && mthing->type <= 609) // circles and diagonals
|| mthing->type == 1705 || mthing->type == 1713 || mthing->type == 1800) // hoops
|| mthing->type == 1705 || mthing->type == 1713) // hoops
{
// Don't spawn hoops, wings, or rings yet!
return;

View file

@ -1097,7 +1097,7 @@ static void P_LoadThings(void)
|| mt->type == mobjinfo[MT_REDTEAMRING].doomednum || mt->type == mobjinfo[MT_BLUETEAMRING].doomednum
|| mt->type == mobjinfo[MT_BLUESPHERE].doomednum || mt->type == mobjinfo[MT_BOMBSPHERE].doomednum
|| (mt->type >= 600 && mt->type <= 609) // circles and diagonals
|| mt->type == 1705 || mt->type == 1713 || mt->type == 1800) // hoops
|| mt->type == 1705 || mt->type == 1713) // hoops
{
mt->mobj = NULL;