From 055f505533a23fc2a7da051597b312263d1a0c66 Mon Sep 17 00:00:00 2001 From: James Brown Date: Wed, 22 May 2002 12:10:37 +0000 Subject: Fix Zaks money. This may break Loom, I made the check fairly generic. svn-id: r4369 --- gfx.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gfx.cpp') diff --git a/gfx.cpp b/gfx.cpp index dccf1e46b2..8c26fdb549 100644 --- a/gfx.cpp +++ b/gfx.cpp @@ -32,14 +32,16 @@ void Scumm::getGraphicsPerformance() initScreens(0, 0, _realWidth, _realHeight); //ender } - _vars[VAR_PERFORMANCE_1] = 0; //_scummTimer; + if (!(_features & GF_SMALL_HEADER)) /* FIXME TEST: Enders Zak fix */ + _vars[VAR_PERFORMANCE_1] = 0; //_scummTimer; for (i = 10; i != 0; i--) { setDirtyRange(0, 0, _realHeight); //ender drawDirtyScreenParts(); } - _vars[VAR_PERFORMANCE_2] = 0; //_scummTimer; + if (!(_features & GF_SMALL_HEADER)) /* FIXME TEST: Enders Zak fix */ + _vars[VAR_PERFORMANCE_2] = 0; //_scummTimer; if (_gameId == GID_DIG) initScreens(0, 0, _realWidth, _realHeight); -- cgit v1.2.3