aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/script.cpp
diff options
context:
space:
mode:
authorMax Horn2010-11-18 16:38:03 +0000
committerMax Horn2010-11-18 16:38:03 +0000
commita008d1405582e1a25e5dea57b19d03899f44542d (patch)
treebbe73d970029d3acd94a5f47f266b00e4490c520 /engines/draci/script.cpp
parent4707b610fca45c0762e25994594fc58557945a02 (diff)
downloadscummvm-rg350-a008d1405582e1a25e5dea57b19d03899f44542d.tar.gz
scummvm-rg350-a008d1405582e1a25e5dea57b19d03899f44542d.tar.bz2
scummvm-rg350-a008d1405582e1a25e5dea57b19d03899f44542d.zip
ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; avoid using 'using'
svn-id: r54323
Diffstat (limited to 'engines/draci/script.cpp')
-rw-r--r--engines/draci/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp
index f657dfe33c..583afa736f 100644
--- a/engines/draci/script.cpp
+++ b/engines/draci/script.cpp
@@ -900,7 +900,7 @@ void Script::popNewRoom(const Common::Array<int> &params) {
* @brief Evaluates mathematical expressions
* @param reader Stream reader set to the beginning of the expression
*/
-int Script::handleMathExpression(Common::MemoryReadStream *reader) const {
+int Script::handleMathExpression(Common::ReadStream *reader) const {
Common::Stack<int> stk;
mathExpressionObject obj;
GPL2Operator oper;