From 983781b56d593fda73b2d518ac7cf965580b96d2 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 21 Jun 2018 04:12:04 +0000 Subject: [PATCH] Fix issue with viewing the player sprite through a security camera git-svn-id: https://svn.eduke32.com/eduke32@6927 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/actors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/duke3d/src/actors.cpp b/source/duke3d/src/actors.cpp index 5b61fe634..6091e118b 100644 --- a/source/duke3d/src/actors.cpp +++ b/source/duke3d/src/actors.cpp @@ -1226,7 +1226,7 @@ ACTOR_STATIC void G_MovePlayers(void) pSprite->y = pPlayer->opos.y; pSprite->z = pPlayer->opos.z + PHEIGHT; actor[spriteNum].bpos.z = pSprite->z; - pSprite->ang = fix16_from_int(pPlayer->oq16ang); + pSprite->ang = fix16_to_int(pPlayer->oq16ang); setsprite(spriteNum, (vec3_t *)pSprite); }