aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/kgraphics.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index b57fc32dcf..3313c06779 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -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