diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-12 11:43:57 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-12 11:43:57 +0200 |
| commit | f73e3661b136d4da4d66ef15b264ec7a958be335 (patch) | |
| tree | 0fe84a543fee9622cfaa1dfd29714347c2496111 /src/game.c | |
| parent | 2e04356bbb1d16c0d519156c3bcf201aea291e09 (diff) | |
new objects
Diffstat (limited to 'src/game.c')
| -rw-r--r-- | src/game.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |
