mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
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:
parent
f938e0bc11
commit
cb950911a0
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue