Codechange: Replace assert_compile macro with static_assert
This commit is contained in:
@@ -60,7 +60,7 @@ static const uint16 _roadveh_full_adder[] = {
|
||||
0, 16, 16, 0, 8, 8, 8, 8,
|
||||
0, 0, 0, 8, 8, 8, 8
|
||||
};
|
||||
assert_compile(lengthof(_roadveh_images) == lengthof(_roadveh_full_adder));
|
||||
static_assert(lengthof(_roadveh_images) == lengthof(_roadveh_full_adder));
|
||||
|
||||
template <>
|
||||
bool IsValidImageIndex<VEH_ROAD>(uint8 image_index)
|
||||
|
Reference in New Issue
Block a user