From 86dcab958d928fa58fe351eccc282ed588f5c649 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 20 Sep 2019 13:30:25 +0200 Subject: [PATCH] - make it compile again. --- source/build/src/engine_priv.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/source/build/src/engine_priv.h b/source/build/src/engine_priv.h index 0e537f285..5910b8a29 100644 --- a/source/build/src/engine_priv.h +++ b/source/build/src/engine_priv.h @@ -411,14 +411,7 @@ template static FORCE_INLINE void tileUpdatePicnum(T * const tilept { auto &tile = *tileptr; - if (!playing_blood) - { - if (picanm[tile].sf & PICANM_ANIMTYPE_MASK) tile += animateoffs(tile, Fakevar); - } - else - { - tile += animateoffs(tile, Fakevar); - } + if (playing_blood || picanm[tile].sf & PICANM_ANIMTYPE_MASK) tile += animateoffs(tile, obj); if (((obj & 16384) == 16384) && (globalorientation & CSTAT_WALL_ROTATE_90) && rottile[tile].newtile != -1) tile = rottile[tile].newtile;