aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/scriptables/ScValue.cpp
diff options
context:
space:
mode:
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