diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-16 14:38:09 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-17 23:23:11 +0100 |
commit | d330637351e8ede605351787f17fb46324089535 (patch) | |
tree | a6b69619b0f9734da55e0556ffeb57efe53f027c /src | |
parent | 299f054956f3193988e07d9fdfb7521207e8c966 (diff) |
zz,
Diffstat (limited to 'src')
-rw-r--r-- | src/camera-offset.cpp | 2 | ||||
-rw-r--r-- | src/entity.cpp | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/camera-offset.cpp b/src/camera-offset.cpp index 060e1559..84dc6141 100644 --- a/src/camera-offset.cpp +++ b/src/camera-offset.cpp @@ -4,8 +4,6 @@ namespace floormat { -static_assert(sizeof(short) == 2); - with_shifted_camera_offset::with_shifted_camera_offset(tile_shader& shader, chunk_coords c, chunk_coords first, chunk_coords last) : _shader{shader}, _camera{shader.camera_offset()} 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 |