summaryrefslogtreecommitdiffhomepage
path: root/src/light.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-05-26 11:51:38 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-05-26 11:51:38 +0200
commit7d421d0069dbc8bcf948a29d39c3f8e65de19b33 (patch)
tree35c04379407563c8d9fbb03f0116e9d1732028ba /src/light.cpp
parenta768733aec06a395ad409e5ed8c49dee69414d64 (diff)
draw, editor, main: add toggling vobj display
Diffstat (limited to 'src/light.cpp')
-rw-r--r--src/light.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/light.cpp b/src/light.cpp
index 551e931d..ed7c4ae1 100644
--- a/src/light.cpp
+++ b/src/light.cpp
@@ -40,6 +40,7 @@ Vector2 light::ordinal_offset(Vector2b) const
entity_type light::type() const noexcept { return entity_type::light; }
bool light::update(size_t, float) { return false; }
+bool light::is_dynamic() const { return true; }
bool light::is_virtual() const { return true; }
float light::calc_intensity(float half_dist, light_falloff falloff)