Permalink
Browse files

warn about mapthings without any skill tag set

  • Loading branch information...
fabiangreffrath committed Mar 9, 2018
1 parent 6682629 commit d93b5045991dc6a8d40f32ae7060eba076639106
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/doom/p_mobj.c
View
@@ -938,6 +938,13 @@ void P_SpawnMapThing (mapthing_t* mthing)
else
bit = 1<<(gameskill-1);
// [crispy] warn about mapthings without any skill tag set
if (!(mthing->options & (MTF_EASY|MTF_NORMAL|MTF_HARD)))
{
fprintf(stderr, "P_SpawnMapThing: Mapthing type %i without any skill tag at (%i, %i)\n",
mthing->type, mthing->x, mthing->y);
}
if (!(mthing->options & bit) )
return;

0 comments on commit d93b504

Please sign in to comment.