aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/script.h
diff options
context:
space:
mode:
authorRobert Špalek2009-09-27 18:11:06 +0000
committerRobert Špalek2009-09-27 18:11:06 +0000
commitfc2bb50600e393cdb3d1e868b9274a43d05bca21 (patch)
tree97c56a0331cb9cc3a286077f3323dd2e1c8e5677 /engines/draci/script.h
parent8b6b3358c8cab75cd693fb3a3abc16990c5850b5 (diff)
downloadscummvm-rg350-fc2bb50600e393cdb3d1e868b9274a43d05bca21.tar.gz
scummvm-rg350-fc2bb50600e393cdb3d1e868b9274a43d05bca21.tar.bz2
scummvm-rg350-fc2bb50600e393cdb3d1e868b9274a43d05bca21.zip
Remove memory leak in animation manager. Get rid of 1 non-const reference parameter.
svn-id: r44413
Diffstat (limited to 'engines/draci/script.h')
-rw-r--r--engines/draci/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/script.h b/engines/draci/script.h
index 4e94281b50..21a16c92fb 100644
--- a/engines/draci/script.h
+++ b/engines/draci/script.h
@@ -167,7 +167,7 @@ private:
void setupCommandList();
const GPL2Command *findCommand(byte num, byte subnum) const;
- int handleMathExpression(Common::MemoryReadStream &reader) const;
+ int handleMathExpression(Common::MemoryReadStream *reader) const;
DraciEngine *_vm;
};