From cb950911a0a9c329eabbd804058481b774ef71cc Mon Sep 17 00:00:00 2001 From: helixhorned Date: Thu, 27 Oct 2011 13:13:37 +0000 Subject: [PATCH] Comment out some leftover code from the "make back-facing switches invisible" hack. git-svn-id: https://svn.eduke32.com/eduke32@2082 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/actors.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/polymer/eduke32/source/actors.c b/polymer/eduke32/source/actors.c index 16f3df9b4..e063160b0 100644 --- a/polymer/eduke32/source/actors.c +++ b/polymer/eduke32/source/actors.c @@ -8171,6 +8171,7 @@ void G_MoveWorld(void) { int32_t dx = sintable[(s->ang+512)&2047]; int32_t dy = sintable[(s->ang)&2047]; +#if 0 int32_t madevisagain = 0; // dynamic make-invisible check for 'hidden' switches @@ -8188,9 +8189,9 @@ void G_MoveWorld(void) madevisagain = 1; } } - - if ((s->cstat & 32768) || A_CheckSpriteFlags(i, SPRITE_NOLIGHT) || - (madevisagain==0 && !inside(s->x+(dx>>9), s->y+(dx>>9), s->sectnum))) +#endif + if ((s->cstat & 32768) || A_CheckSpriteFlags(i, SPRITE_NOLIGHT)) +// || (madevisagain==0 && !inside(s->x+(dx>>9), s->y+(dx>>9), s->sectnum)) { if (actor[i].lightptr != NULL) {