aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci/script.cpp')
-rw-r--r--engines/draci/script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp
index f657dfe33c..2a27541ad9 100644
--- a/engines/draci/script.cpp
+++ b/engines/draci/script.cpp
@@ -25,7 +25,7 @@
#include "common/array.h"
#include "common/debug.h"
-#include "common/stream.h"
+#include "common/memstream.h"
#include "common/stack.h"
#include "draci/draci.h"
@@ -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;