diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-14 12:53:00 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-14 12:53:00 +0200 |
commit | 879c76e8fc1c6aa4e23fe0b5ed7ac62e6b1caeb4 (patch) | |
tree | ca2d5ba5e99c878144941be1bb3b04507058d0df /src | |
parent | f5c387da470ae43a2c8aff75b419e784c8bb3bc5 (diff) |
renders almost correctly
Can't be done any better without using topo sort (which means full vbo
uploads each frame).
Diffstat (limited to 'src')
-rw-r--r-- | src/character.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/character.cpp b/src/character.cpp index b00ba73a..a2d85cb3 100644 --- a/src/character.cpp +++ b/src/character.cpp @@ -132,7 +132,7 @@ void character::set_keys(bool L, bool R, bool U, bool D) float character::depth_offset() const { - return tile_shader::scenery_depth_offset; + return tile_shader::character_depth_offset; } Vector2 character::ordinal_offset(Vector2b offset) const |