From 98b60f1af88c94fde1244bab53a13f61345ad945 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 27 Mar 2012 00:15:35 +0300 Subject: DREAMWEB: Slight cleanup of DreamWebEngine::animPointer() --- engines/dreamweb/stubs.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/dreamweb') diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 9789e20210..8226982db7 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -1621,8 +1621,7 @@ void DreamWebEngine::animPointer() { if (_pointerCount == 16) _pointerCount = 0; } - static const uint8 flashMouseTab[] = { 1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2 }; - _pointerFrame = flashMouseTab[_pointerCount]; + _pointerFrame = (_pointerCount <= 8) ? 1 : 2; return; } if (_vars._watchingTime != 0) { -- cgit v1.2.3