From f5c387da470ae43a2c8aff75b419e784c8bb3bc5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 14 Apr 2023 11:58:23 +0200 Subject: it probably renders correctly now --- src/entity.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/entity.hpp') diff --git a/src/entity.hpp b/src/entity.hpp index c6ceabaf..183892d5 100644 --- a/src/entity.hpp +++ b/src/entity.hpp @@ -52,7 +52,7 @@ struct entity virtual ~entity() noexcept; virtual Vector2 ordinal_offset(Vector2b offset) const = 0; - virtual Vector2 depth_offset() const = 0; + virtual float depth_offset() const = 0; float ordinal() const; float ordinal(local_coords xy, Vector2b offset, Vector2s z_offset) const; struct chunk& chunk() const; -- cgit v1.2.3