mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 19:20:38 +00:00
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:
parent
963624735f
commit
068a254c52
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue