aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/tony/custom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/custom.cpp b/engines/tony/custom.cpp
index 3a0792252b..35ae8849f1 100644
--- a/engines/tony/custom.cpp
+++ b/engines/tony/custom.cpp
@@ -1761,9 +1761,9 @@ DECLARE_CUSTOM_FUNCTION(MCharSendMessage)(CORO_PARAM, uint32 nChar, uint32 dwMes
GLOBALS._curBackText = NULL;
delete _ctx->text;
- delete _ctx->msg;
}
+ delete _ctx->msg;
// Try to run the custom function to close the speech
if (GLOBALS._mCharacter[nChar]._item) {