From b0c7b27ea8ef881111ea376d0c9cec4d80a4fa69 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 22 Jun 2021 04:36:30 +0100 Subject: [PATCH] ICB: Fix GCC Unused Variable Warnings --- engines/icb/general_npc_animation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/icb/general_npc_animation.cpp b/engines/icb/general_npc_animation.cpp index d9fdddf976b..50113b8ac78 100644 --- a/engines/icb/general_npc_animation.cpp +++ b/engines/icb/general_npc_animation.cpp @@ -480,10 +480,10 @@ void _game_session::Animate_turn_to_pan(__mega_set_names anim_type, uint32 speed PXfloat cang = (PXfloat)PXcos(ang); PXfloat sang = (PXfloat)PXsin(ang); - PXreal x = M->actor_xyz.x + PXfloat2PXreal(xnext * cang + znext * sang); - PXreal z = M->actor_xyz.z + PXfloat2PXreal(znext * cang - xnext * sang); - // x and z are the new coordinates // FIXME: x and z are not used currently... + //PXreal x = M->actor_xyz.x + PXfloat2PXreal(xnext * cang + znext * sang); + //PXreal z = M->actor_xyz.z + PXfloat2PXreal(znext * cang - xnext * sang); + // x and z are the new coordinates if (L->pan >= HALF_TURN) L->pan -= FULL_TURN;