diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-12 16:57:47 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-12 16:57:47 +0200 |
commit | 945dbbf8070ace647bb94da16c2c9f56690287be (patch) | |
tree | dfaea763a7e3c6abd0d37fd6de6b1532ca4c5c48 /src/scenery.cpp | |
parent | 506f87c554153eb0bbc3bc9e4fb0f26792f8bfca (diff) |
a
Diffstat (limited to 'src/scenery.cpp')
-rw-r--r-- | src/scenery.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scenery.cpp b/src/scenery.cpp index a07a69a5..d6b9fb22 100644 --- a/src/scenery.cpp +++ b/src/scenery.cpp @@ -96,7 +96,7 @@ Vector2 scenery::depth_offset() const if (sc_type == scenery_type::door) { const bool is_open = frame != atlas->info().nframes-1; - constexpr auto off_opened = Vector2(-1, 0) + Vector2(); + constexpr auto off_opened = Vector2(-1, 0); constexpr auto off_closed = Vector2(0, 0); const auto vec = is_open ? off_opened : off_closed; const auto offset = rotate_point(vec, rotation::N, r); |