Hack around HOM when passing through a masked wall, but only on Android because the solution isn't very good.

git-svn-id: https://svn.eduke32.com/eduke32@4430 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2014-04-11 16:19:36 +00:00
parent a7cc0741ae
commit e760d590be

View file

@ -4394,6 +4394,16 @@ void G_DrawRooms(int32_t snum, int32_t smoothratio)
if (g_networkMode == NET_DEDICATED_SERVER) return;
#ifdef __ANDROID__
// HACK: this is needed or else we get leftover UI texture crap where we'd get HOM on PC
if (getrendermode() == REND_POLYMOST)
{
static int32_t col = getclosestcol(4, 4, 4);
clearallviews(col);
}
#endif
if (pub > 0 || getrendermode() >= REND_POLYMOST) // JBF 20040101: redraw background always
{
if (ud.screen_size >= 8)