From 04f96e223f7213b14fa2e1bab061cd964ae8b8ca Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 10 May 2021 16:08:46 +0200 Subject: [PATCH] - gotpic stuff. --- source/games/whaven/src/render.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/games/whaven/src/render.cpp b/source/games/whaven/src/render.cpp index 3a7402a70..44eaedcbd 100644 --- a/source/games/whaven/src/render.cpp +++ b/source/games/whaven/src/render.cpp @@ -56,7 +56,7 @@ void drawscreen(int num, double dasmoothratio, bool sceneonly) } // wango - if (!testnewrenderer && (gotpic[FLOORMIRROR >> 3] & (1 << (FLOORMIRROR & 7))) != 0) { + if (!testnewrenderer && testgotpic(FLOORMIRROR, true)) { int dist = 0x7fffffff; int i = 0, j; for (int k = floormirrorcnt - 1; k >= 0; k--) { @@ -77,8 +77,6 @@ void drawscreen(int num, double dasmoothratio, bool sceneonly) renderDrawMasks(); renderSetRollAngle(0); inpreparemirror = false; - - gotpic[FLOORMIRROR >> 3] &= ~(1 << (FLOORMIRROR & 7)); } int ceilz, floorz;