From 39c96d58c61e95151679cbec8867ff14ef6ba1ac Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 22 Feb 2020 16:56:20 +0100 Subject: [PATCH] - fixed bug with wallsprite calculation trashing angles of voxel sprites. Fix was missed from upstream due to a merge conflict. --- source/build/src/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/engine.cpp b/source/build/src/engine.cpp index 114dd7904..ff057d0e5 100644 --- a/source/build/src/engine.cpp +++ b/source/build/src/engine.cpp @@ -7798,7 +7798,7 @@ killsprite: get_wallspr_points(tspr, &xx[0], &xx[1], &yy[0], &yy[1]); - if (!playing_blood? ((tspr->cstat & 48) == 0) : ((tspr->cstat & 48) != 16)) + if ((tspr->cstat & 48) != 16) tspriteptr[i]->ang = oang; }