SCI: turn assert into warning, as it used in QfG2 char import

svn-id: r44400
This commit is contained in:
Willem Jan Palenstijn 2009-09-27 14:18:21 +00:00
parent 1f8a06a0b8
commit 33e9b0baf9

View file

@ -1637,7 +1637,9 @@ static void _k_draw_control(EngineState *s, reg_t obj, int inverse) {
entries_nr = 0;
// NOTE: most types of pointer dereferencing don't like odd offsets
assert((entry_size & 1) == 0);
if (entry_size & 1) {
warning("List control with odd entry_size %d. This is not yet implemented for all types of segments", entry_size);
}
reg_t seeker = text_pos;
// Count string entries in NULL terminated string list