summaryrefslogtreecommitdiffhomepage
path: root/src/scenery.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-03 15:24:33 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-03 15:24:33 +0100
commit235078bae4ada8b7aed3c1cdf95d8288aaf81df4 (patch)
treeda2979408771be5e496d0ffaf5af3634cd61e4a3 /src/scenery.cpp
parent4e5cdeaa32fd73f160ee0d599ce958169082eeac (diff)
flush scenery popup work
Diffstat (limited to 'src/scenery.cpp')
-rw-r--r--src/scenery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scenery.cpp b/src/scenery.cpp
index 17f2066c..fca45411 100644
--- a/src/scenery.cpp
+++ b/src/scenery.cpp
@@ -77,7 +77,7 @@ void scenery_ref::rotate(rotation new_r)
bool scenery_ref::can_activate() const noexcept
{
- return frame.interactive;
+ return atlas && frame.interactive;
}
bool scenery_ref::update(float dt)