diff options
author | Sven Gothel <[email protected]> | 2022-04-03 13:25:14 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-04-03 13:25:14 +0200 |
commit | 9d402eaa72c3b7780c28ad5128723adf4ad2ce7a (patch) | |
tree | 7d3073d9f952fedb2a8a2bcbc311796541e90bbe | |
parent | 19e56f25891dc278f9f86fb2fe46a5dfc9f6804a (diff) |
ghost mode_t_LEVEL_SETUP: Reset texture
-rw-r--r-- | src/ghost.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ghost.cpp b/src/ghost.cpp index 344b00c..c898fc5 100644 --- a/src/ghost.cpp +++ b/src/ghost.cpp @@ -677,6 +677,7 @@ void ghost_t::set_mode(const mode_t m, const int mode_ms) noexcept { case mode_t::AWAY: break; case mode_t::LEVEL_SETUP: + atex = &get_tex(); pos_ = home_pos; pos_.set_aligned_dir(keyframei_); current_dir = direction_t::LEFT; |