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
This commit is contained in:
helixhorned 2011-10-27 13:13:37 +00:00
parent f938e0bc11
commit cb950911a0

View file

@ -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)
{