mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +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 dx = sintable[(s->ang+512)&2047];
|
||||||
int32_t dy = sintable[(s->ang)&2047];
|
int32_t dy = sintable[(s->ang)&2047];
|
||||||
|
#if 0
|
||||||
int32_t madevisagain = 0;
|
int32_t madevisagain = 0;
|
||||||
|
|
||||||
// dynamic make-invisible check for 'hidden' switches
|
// dynamic make-invisible check for 'hidden' switches
|
||||||
|
@ -8188,9 +8189,9 @@ void G_MoveWorld(void)
|
||||||
madevisagain = 1;
|
madevisagain = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if ((s->cstat & 32768) || A_CheckSpriteFlags(i, SPRITE_NOLIGHT) ||
|
if ((s->cstat & 32768) || A_CheckSpriteFlags(i, SPRITE_NOLIGHT))
|
||||||
(madevisagain==0 && !inside(s->x+(dx>>9), s->y+(dx>>9), s->sectnum)))
|
// || (madevisagain==0 && !inside(s->x+(dx>>9), s->y+(dx>>9), s->sectnum))
|
||||||
{
|
{
|
||||||
if (actor[i].lightptr != NULL)
|
if (actor[i].lightptr != NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue