From 7b7bccfd4e8db43d180630996d60e314792cc6ff Mon Sep 17 00:00:00 2001 From: Bertrand Augereau Date: Thu, 1 Dec 2011 11:21:11 +0100 Subject: DREAMWEB: 'madman' uses the ported 'checkspeed' --- engines/dreamweb/sprite.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/dreamweb/sprite.cpp b/engines/dreamweb/sprite.cpp index 9d9187038a..4e0f927bb1 100644 --- a/engines/dreamweb/sprite.cpp +++ b/engines/dreamweb/sprite.cpp @@ -681,8 +681,7 @@ void DreamGenContext::madmantext() { void DreamGenContext::madman() { ReelRoutine *routine = (ReelRoutine *)es.ptr(bx, 0); data.word(kWatchingtime) = 2; - checkspeed(); - if (flags.z()) { + if (checkspeed(routine)) { ax = routine->reelPointer(); if (ax >= 364) { data.byte(kMandead) = 2; -- cgit v1.2.3