Hack for fake multimode/splitscreen: also draw mirrors from showview*.

See the source for why this hack is ugly.

git-svn-id: https://svn.eduke32.com/eduke32@2891 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-08-13 18:26:08 +00:00
parent cb812625a7
commit 27ebcc41b4

View file

@ -3414,7 +3414,16 @@ void G_HandleMirror(int32_t x, int32_t y, int32_t z, int32_t a, int32_t horiz, i
visibility = j; visibility = j;
} }
gotpic[MIRROR>>3] &= ~(1<<(MIRROR&7)); if (!g_fakeMultiMode)
{
// HACK for splitscreen mod: this is so that mirrors will be drawn
// from showview commands. Ugly, because we'll attempt do draw mirrors
// each frame then. But it's better than not drawing them, I guess.
// XXX: fix the sequence of setting/clearing this bit. Right now,
// we always draw one frame without drawing the mirror, after which
// the bit gets set and drawn subsequently.
gotpic[MIRROR>>3] &= ~(1<<(MIRROR&7));
}
} }
} }