From 89aa5bc8fc8aab52cd482f851d700a829f1562a9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 19 May 2023 06:21:18 +0200 Subject: draw lights on top of scenery --- src/light.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/light.cpp b/src/light.cpp index 921b0e4d..7b491f30 100644 --- a/src/light.cpp +++ b/src/light.cpp @@ -32,7 +32,10 @@ float light::depth_offset() const return ret; } -Vector2 light::ordinal_offset(Vector2b) const { return {}; } +Vector2 light::ordinal_offset(Vector2b) const +{ + return Vector2(TILE_COUNT, TILE_COUNT); +} entity_type light::type() const noexcept { return entity_type::light; } bool light::update(size_t, float) { return false; } -- cgit v1.2.3