aboutsummaryrefslogtreecommitdiff
path: root/src/GameLoop.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-09 23:07:32 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-09 23:37:37 +0700
commit48417e11854f832c40a42ec497cad3b275b57b2e (patch)
tree73162cd7294a49ba39f0f06afd16da74dee0f6da /src/GameLoop.cpp
parente4888c19818ef61264ea4e1b0da9ebdc302f1483 (diff)
downloadblackshades-48417e11854f832c40a42ec497cad3b275b57b2e.tar.gz
Make XYZ C-compatible
Diffstat (limited to 'src/GameLoop.cpp')
-rw-r--r--src/GameLoop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GameLoop.cpp b/src/GameLoop.cpp
index caa3c1b..f174e70 100644
--- a/src/GameLoop.cpp
+++ b/src/GameLoop.cpp
@@ -154,7 +154,7 @@ void handleKey(Game* game, int key, int action, int mods)
player.playercoords = game->bodycoords;
player.oldplayercoords = game->bodycoords;
- player.velocity = 0;
+ player.velocity = {};
}
}