- make it compile again.

This commit is contained in:
Christoph Oelckers 2019-09-20 13:30:25 +02:00
parent b7f7c5fdc1
commit 86dcab958d

View file

@ -411,14 +411,7 @@ template <typename T> static FORCE_INLINE void tileUpdatePicnum(T * const tilept
{ {
auto &tile = *tileptr; auto &tile = *tileptr;
if (!playing_blood) if (playing_blood || picanm[tile].sf & PICANM_ANIMTYPE_MASK) tile += animateoffs(tile, obj);
{
if (picanm[tile].sf & PICANM_ANIMTYPE_MASK) tile += animateoffs(tile, Fakevar);
}
else
{
tile += animateoffs(tile, Fakevar);
}
if (((obj & 16384) == 16384) && (globalorientation & CSTAT_WALL_ROTATE_90) && rottile[tile].newtile != -1) if (((obj & 16384) == 16384) && (globalorientation & CSTAT_WALL_ROTATE_90) && rottile[tile].newtile != -1)
tile = rottile[tile].newtile; tile = rottile[tile].newtile;