summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.c b/src/game.c
index fb99e6c..01633bc 100644
--- a/src/game.c
+++ b/src/game.c
@@ -116,7 +116,7 @@ static void rotate_user(platform_window* window, protocol_user_look *message) {
}
p->gunx = p->playerx + message->gunx;
- p->guny = p->playery + message->guny;
+ p->guny = p->playery - 0.5f + message->guny;
p->dirx = message->dirx;
p->diry = message->diry;
}