diff options
author | md5 | 2011-03-19 04:01:28 +0200 |
---|---|---|
committer | md5 | 2011-03-19 04:01:28 +0200 |
commit | a4c05b1632940b3f2003055e0c64970b4b053f32 (patch) | |
tree | 102ca114014a63cb899f5379611da84f873b0007 /backends | |
parent | 23aabc950a2b8ac2fb986dba1988319246b6881d (diff) | |
download | scummvm-rg350-a4c05b1632940b3f2003055e0c64970b4b053f32.tar.gz scummvm-rg350-a4c05b1632940b3f2003055e0c64970b4b053f32.tar.bz2 scummvm-rg350-a4c05b1632940b3f2003055e0c64970b4b053f32.zip |
Fixed compilation of the N64 port
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/n64/osys_n64_events.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/n64/osys_n64_events.cpp b/backends/platform/n64/osys_n64_events.cpp index 9a53051d3d..22b9addbfb 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) |