summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-26 19:33:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-26 19:33:21 +0200
commit54ad9e4702f6241b9a59668c33504281df66ac2f (patch)
tree55cf3ad895ff07052925db1a6665f10b7847c154
parent8898bebd8dcb4361b35dde37bdf424d09b498d60 (diff)
rage against -Wcomma
-rw-r--r--editor/camera.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/editor/camera.cpp b/editor/camera.cpp
index a71bc189..a41e62d9 100644
--- a/editor/camera.cpp
+++ b/editor/camera.cpp
@@ -9,7 +9,10 @@ namespace floormat {
void app::do_camera(float dt)
{
if (keys[key::camera_reset])
- reset_camera_offset(), do_mouse_move();
+ {
+ reset_camera_offset();
+ do_mouse_move();
+ }
else
{
Vector2d dir{};