medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 0f5f6ebf2e4e192578ea94a3f215bff7d2edeabc
parent 89dc713262a6425c600e5e215dd32c3bef350f2c
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed Jan 11 23:29:37 +0200

Fix IJKL turn directions

Diffstat:
hm.cc | 4++--
mod_btt.cc | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hm.cc b/hm.cc @@ -190,8 +190,8 @@ extern "C" GAME_FRAME( game_frame ) { int dpitch = input->keys[ KEY_DOWNARROW ] - input->keys[ KEY_UPARROW ]; int dyaw = input->keys[ KEY_LEFTARROW ] - input->keys[ KEY_RIGHTARROW ]; - dpitch += input->keys[ KEY_I ] - input->keys[ KEY_K ]; - dyaw += input->keys[ KEY_L ] - input->keys[ KEY_J ]; + dpitch += input->keys[ KEY_K ] - input->keys[ KEY_I ]; + dyaw += input->keys[ KEY_J ] - input->keys[ KEY_L ]; game->pitch += dpitch * dt * 100; game->yaw += dyaw * dt * 100; diff --git a/mod_btt.cc b/mod_btt.cc @@ -278,8 +278,8 @@ extern "C" GAME_FRAME( game_frame ) { int dpitch = input->keys[ KEY_DOWNARROW ] - input->keys[ KEY_UPARROW ]; int dyaw = input->keys[ KEY_LEFTARROW ] - input->keys[ KEY_RIGHTARROW ]; - dpitch += input->keys[ KEY_I ] - input->keys[ KEY_K ]; - dyaw += input->keys[ KEY_L ] - input->keys[ KEY_J ]; + dpitch += input->keys[ KEY_K ] - input->keys[ KEY_I ]; + dyaw += input->keys[ KEY_J ] - input->keys[ KEY_L ]; game->pitch += dpitch * dt * 100; game->yaw += dyaw * dt * 100;