diff options
author | Einar Johan Trøan Sømåen | 2012-03-13 17:24:18 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 12:42:07 +0200 |
commit | f4b95a0d73e1e67a66236b69533dd673a897be78 (patch) | |
tree | 7e641e12a6da4ec51b0bf1115a3727e0461f5541 /engines | |
parent | 5b01f6a284e9e6d21234603ade4557cada9982c0 (diff) | |
download | scummvm-rg350-f4b95a0d73e1e67a66236b69533dd673a897be78.tar.gz scummvm-rg350-f4b95a0d73e1e67a66236b69533dd673a897be78.tar.bz2 scummvm-rg350-f4b95a0d73e1e67a66236b69533dd673a897be78.zip |
WINTERMUTE: Remove STL from ScValue
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/scriptables/ScValue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/scriptables/ScValue.cpp b/engines/wintermute/scriptables/ScValue.cpp index f42cbf6a30..b843e2032c 100644 --- a/engines/wintermute/scriptables/ScValue.cpp +++ b/engines/wintermute/scriptables/ScValue.cpp @@ -230,8 +230,8 @@ HRESULT CScValue::SetProp(char *Name, CScValue *Val, bool CopyWhole, bool SetAsC /*
m_ValIter = m_ValObject.find(Name);
if (m_ValIter != m_ValObject.end()){
- delete m_ValIter->second;
- m_ValIter->second = NULL;
+ delete m_ValIter->_value;
+ m_ValIter->_value = NULL;
}
CScValue* val = new CScValue(Game);
val->Copy(Val, CopyWhole);
|