From a008d1405582e1a25e5dea57b19d03899f44542d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 18 Nov 2010 16:38:03 +0000 Subject: ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; avoid using 'using' svn-id: r54323 --- engines/draci/script.cpp | 2 +- engines/draci/script.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/draci') 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 ¶ms) { * @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 stk; mathExpressionObject obj; GPL2Operator oper; diff --git a/engines/draci/script.h b/engines/draci/script.h index 1551d3573c..e81691204e 100644 --- a/engines/draci/script.h +++ b/engines/draci/script.h @@ -30,7 +30,7 @@ #include "common/stream.h" namespace Common { - class MemoryReadStream; + class ReadStream; } namespace Draci { @@ -193,7 +193,7 @@ private: void setupCommandList(); const GPL2Command *findCommand(byte num, byte subnum) const; - int handleMathExpression(Common::MemoryReadStream *reader) const; + int handleMathExpression(Common::ReadStream *reader) const; DraciEngine *_vm; }; -- cgit v1.2.3