aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/scriptables/ScValue.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-06-25 15:48:00 +0200
committerEinar Johan Trøan Sømåen2012-06-25 15:48:00 +0200
commit4c61cf042b09a64593a8beb6e1e9d72a883a7cda (patch)
tree53b3efa0ee268bca5335355b49c446e072f2c621 /engines/wintermute/Base/scriptables/ScValue.cpp
parent0fc175857ad83127541ce3a85cd701f85f7e844d (diff)
downloadscummvm-rg350-4c61cf042b09a64593a8beb6e1e9d72a883a7cda.tar.gz
scummvm-rg350-4c61cf042b09a64593a8beb6e1e9d72a883a7cda.tar.bz2
scummvm-rg350-4c61cf042b09a64593a8beb6e1e9d72a883a7cda.zip
WINTERMUTE: Fix a bunch of warnings
Diffstat (limited to 'engines/wintermute/Base/scriptables/ScValue.cpp')
-rw-r--r--engines/wintermute/Base/scriptables/ScValue.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/wintermute/Base/scriptables/ScValue.cpp b/engines/wintermute/Base/scriptables/ScValue.cpp
index 2182e58e71..4dce85c1a0 100644
--- a/engines/wintermute/Base/scriptables/ScValue.cpp
+++ b/engines/wintermute/Base/scriptables/ScValue.cpp
@@ -707,6 +707,9 @@ void CScValue::SetValue(CScValue *Val) {
case VAL_STRING:
_valNative->ScSetString(Val->GetString());
break;
+ default:
+ warning("CScValue::SetValue - unhandled enum");
+ break;
}
}
// otherwise just copy everything