diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-19 06:21:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-19 06:21:18 +0200 |
commit | 89aa5bc8fc8aab52cd482f851d700a829f1562a9 (patch) | |
tree | f39e97d3cf2a898c61320e65fa787dbc2edae38e /src | |
parent | a4870b515381b222f5dcb9d4d3cfe34102967ce4 (diff) |
draw lights on top of scenery
Diffstat (limited to 'src')
-rw-r--r-- | src/light.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |