summaryrefslogtreecommitdiff
path: root/src/table/train_cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/table/train_cmd.h')
-rw-r--r--src/table/train_cmd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/table/train_cmd.h b/src/table/train_cmd.h
index cc53582f8..f9419990b 100644
--- a/src/table/train_cmd.h
+++ b/src/table/train_cmd.h
@@ -63,6 +63,6 @@ static const byte _wagon_full_adder[] = {
32, 32
};
-assert_compile(lengthof(_engine_sprite_base) == lengthof(_engine_sprite_and));
-assert_compile(lengthof(_engine_sprite_base) == lengthof(_engine_sprite_add));
-assert_compile(lengthof(_engine_sprite_base) == lengthof(_wagon_full_adder));
+static_assert(lengthof(_engine_sprite_base) == lengthof(_engine_sprite_and));
+static_assert(lengthof(_engine_sprite_base) == lengthof(_engine_sprite_add));
+static_assert(lengthof(_engine_sprite_base) == lengthof(_wagon_full_adder));