(svn r26130) -Codechange: add some guards against using invalid image indices
This commit is contained in:
@@ -64,3 +64,7 @@ static const byte _wagon_full_adder[] = {
|
||||
0, 0, 24, 24, 24, 24, 0, 0,
|
||||
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));
|
||||
|
Reference in New Issue
Block a user