Skip to content

Commit

Permalink
Fix bossaction for extra DEHEXTRA/DSDHacked monsters
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Dec 11, 2023
1 parent d985813 commit b5a2c87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/p_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -3549,7 +3549,7 @@ static bool P_ParseMapInfo(const char *scriptname)
{
int i;

for (i = 0; i < NUMMOBJTYPES; i++)
for (i = 0; i < nummobjtypes; i++)
{
char *name1 = removenonalpha(mobjinfo[i].name1);
char *name2 = (*mobjinfo[i].name2 ? removenonalpha(mobjinfo[i].name2) : NULL);
Expand All @@ -3561,7 +3561,7 @@ static bool P_ParseMapInfo(const char *scriptname)
break;
}

if (i < NUMMOBJTYPES)
if (i < nummobjtypes)
{
int special;
int tag;
Expand Down

0 comments on commit b5a2c87

Please sign in to comment.