summaryrefslogtreecommitdiffhomepage
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-16 14:38:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-17 23:23:11 +0100
commitd330637351e8ede605351787f17fb46324089535 (patch)
treea6b69619b0f9734da55e0556ffeb57efe53f027c /src/entity.cpp
parent299f054956f3193988e07d9fdfb7521207e8c966 (diff)
zz,
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 586f9ecc..c0b89195 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -41,7 +41,6 @@ entity::~entity() noexcept
Vector2b entity::ordinal_offset_for_type(entity_type type, Vector2b offset)
{
-#if 0
switch (type)
{
default:
@@ -52,11 +51,6 @@ Vector2b entity::ordinal_offset_for_type(entity_type type, Vector2b offset)
case entity_type::character:
return {};
}
-#else
- (void)type;
- (void)offset;
- return {};
-#endif
}
float entity_proto::ordinal(local_coords local) const