aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-10 21:36:06 +0100
committerEugene Sandulenko2017-02-10 21:36:06 +0100
commit165cbd180cb3c88faa1350435f4b8b6f92ffe097 (patch)
tree7c65a6c095c03171315476129444cf1d28b2ac4e /engines/director/lingo
parenteeaddfb20aa3e03aaa5f5bffe54178b046489661 (diff)
downloadscummvm-rg350-165cbd180cb3c88faa1350435f4b8b6f92ffe097.tar.gz
scummvm-rg350-165cbd180cb3c88faa1350435f4b8b6f92ffe097.tar.bz2
scummvm-rg350-165cbd180cb3c88faa1350435f4b8b6f92ffe097.zip
DIRECTOR: Lingo: Avoid deleting counter in 'repeat..with' statement
Diffstat (limited to 'engines/director/lingo')
-rw-r--r--engines/director/lingo/lingo-code.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp
index 7ab69c025d..b79e51dcde 100644
--- a/engines/director/lingo/lingo-code.cpp
+++ b/engines/director/lingo/lingo-code.cpp
@@ -887,8 +887,6 @@ void Lingo::c_repeatwithcode(void) {
if (!g_lingo->_returning)
g_lingo->_pc = end; /* next stmt */
-
- delete counter;
}
void Lingo::c_exitRepeat(void) {