SW: Fix hilarious -Wlogical-not-parentheses warning that accidentally worked as intended owing to numerical values of the MIRRORSTATE enum

git-svn-id: https://svn.eduke32.com/eduke32@7529 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-08 06:27:58 +00:00 committed by Christoph Oelckers
parent 963624735f
commit 068a254c52

View file

@ -781,7 +781,7 @@ JS_DrawMirrors(PLAYERp pp, int tx, int ty, int tz, short tpang, int tphoriz)
// Show teleport destination
// NOTE: Adding MAXSECTORS lets you draw a room, even if
// you are outside of it!
if (!mirror[cnt].mstate == m_viewon)
if (mirror[cnt].mstate != m_viewon)
{
tilesiz[MIRROR].x = tilesiz[MIRROR].y = 0;
// Set TV camera sprite size to 0 to show mirror