aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad/ad_object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/ad/ad_object.cpp')
-rw-r--r--engines/wintermute/ad/ad_object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/ad/ad_object.cpp b/engines/wintermute/ad/ad_object.cpp
index 84f13dc989..fdbc987158 100644
--- a/engines/wintermute/ad/ad_object.cpp
+++ b/engines/wintermute/ad/ad_object.cpp
@@ -853,7 +853,7 @@ void AdObject::talk(const char *text, const char *sound, uint32 duration, const
char *key = _gameRef->_stringTable->getKey(text);
if (key) {
sound = ((AdGame *)_gameRef)->findSpeechFile(key);
- delete [] key;
+ delete[] key;
if (sound) deleteSound = true;
}
@@ -931,7 +931,7 @@ void AdObject::talk(const char *text, const char *sound, uint32 duration, const
_state = STATE_TALKING;
- if (deleteSound) delete [] sound;
+ if (deleteSound) delete[] sound;
}