aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-09-27 14:18:21 +0000
committerWillem Jan Palenstijn2009-09-27 14:18:21 +0000
commit33e9b0baf941d2541e616d2f46f98471e5e3b788 (patch)
tree5186f8b107263c7a48b6721f83fc8fce71282d0e
parent1f8a06a0b83a9e7da910da04a4f10eefeb600655 (diff)
downloadscummvm-rg350-33e9b0baf941d2541e616d2f46f98471e5e3b788.tar.gz
scummvm-rg350-33e9b0baf941d2541e616d2f46f98471e5e3b788.tar.bz2
scummvm-rg350-33e9b0baf941d2541e616d2f46f98471e5e3b788.zip
SCI: turn assert into warning, as it used in QfG2 char import
svn-id: r44400
-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