summaryrefslogtreecommitdiffhomepage
path: root/src/camera-offset.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/camera-offset.cpp
parent299f054956f3193988e07d9fdfb7521207e8c966 (diff)
zz,
Diffstat (limited to 'src/camera-offset.cpp')
-rw-r--r--src/camera-offset.cpp2
1 files changed, 0 insertions, 2 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()}