[Scummvm-git-logs] scummvm master -> b0c7b27ea8ef881111ea376d0c9cec4d80a4fa69
digitall
547637+digitall at users.noreply.github.com
Tue Jun 22 03:36:19 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b0c7b27ea8 ICB: Fix GCC Unused Variable Warnings
Commit: b0c7b27ea8ef881111ea376d0c9cec4d80a4fa69
https://github.com/scummvm/scummvm/commit/b0c7b27ea8ef881111ea376d0c9cec4d80a4fa69
Author: D G Turner (digitall at scummvm.org)
Date: 2021-06-22T04:36:30+01:00
Commit Message:
ICB: Fix GCC Unused Variable Warnings
Changed paths:
engines/icb/general_npc_animation.cpp
diff --git a/engines/icb/general_npc_animation.cpp b/engines/icb/general_npc_animation.cpp
index d9fdddf976..50113b8ac7 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;
More information about the Scummvm-git-logs
mailing list