diff --git a/src/p_user.c b/src/p_user.c index 131eedd9c..c2f122ace 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -12342,12 +12342,14 @@ void P_PlayerThink(player_t *player) sector_t *controlsec; for (j=0; jtags); // Does this sector have a colormap? for (i=0; itag) + if (lines[i].special == 606 && linetag == controlsectag) break; } if (i == numlines) - CONS_Debug(DBG_GAMELOGIC, "%d, %d\n", j, sectors[j].tag); + CONS_Debug(DBG_GAMELOGIC, "%d, %d\n", j, sectag); } }