[Scummvm-cvs-logs] scummvm master -> a4c05b1632940b3f2003055e0c64970b4b053f32
bluegr
md5 at scummvm.org
Sat Mar 19 03:03:04 CET 2011
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:
a4c05b1632 Fixed compilation of the N64 port
Commit: a4c05b1632940b3f2003055e0c64970b4b053f32
https://github.com/scummvm/scummvm/commit/a4c05b1632940b3f2003055e0c64970b4b053f32
Author: md5 (md5 at scummvm.org)
Date: 2011-03-18T19:01:28-07:00
Commit Message:
Fixed compilation of the N64 port
Changed paths:
backends/platform/n64/osys_n64_events.cpp
diff --git a/backends/platform/n64/osys_n64_events.cpp b/backends/platform/n64/osys_n64_events.cpp
index 9a53051..22b9add 100644
--- a/backends/platform/n64/osys_n64_events.cpp
+++ b/backends/platform/n64/osys_n64_events.cpp
@@ -118,9 +118,9 @@ void OSystem_N64::readControllerAnalogInput(void) {
// Gamepad
if (abs(pad_analogX) > PAD_DEADZONE)
- mx += tan(pad_analogX * (PI / 140));
+ mx += tan(pad_analogX * (M_PI / 140));
if (abs(pad_analogY) > PAD_DEADZONE)
- my -= tan(pad_analogY * (PI / 140));
+ my -= tan(pad_analogY * (M_PI / 140));
// Mouse
if (abs(pad_mouseX) > MOUSE_DEADZONE)
More information about the Scummvm-git-logs
mailing list