[Scummvm-cvs-logs] SF.net SVN: scummvm: [31200] scummvm/trunk/engines/kyra/gui_v2.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Mar 20 12:37:11 CET 2008


Revision: 31200
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31200&view=rev
Author:   lordhoto
Date:     2008-03-20 04:37:10 -0700 (Thu, 20 Mar 2008)

Log Message:
-----------
Supply correct flags to copyRegion when displaying spellbook pages.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/gui_v2.cpp

Modified: scummvm/trunk/engines/kyra/gui_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/gui_v2.cpp	2008-03-20 11:32:06 UTC (rev 31199)
+++ scummvm/trunk/engines/kyra/gui_v2.cpp	2008-03-20 11:37:10 UTC (rev 31200)
@@ -831,7 +831,7 @@
 	_res->loadFileToBuf("_BOOK.COL", _screen->getPalette(0), 768);
 	loadBookBkgd();
 	showBookPage();
-	_screen->copyRegion(0, 0, 0, 0, 0x140, 0xC8, 2, 0);
+	_screen->copyRegion(0, 0, 0, 0, 0x140, 0xC8, 2, 0, Screen::CR_NO_P_CHECK);
 	_screen->updateScreen();
 
 	int oldItemInHand = _itemInHand;
@@ -968,7 +968,7 @@
 			showBookPage();
 			snd_playSoundEffect(0x64);
 			_screen->hideMouse();
-			_screen->copyRegion(0, 0, 0, 0, 0x140, 0xC8, 2, 0);
+			_screen->copyRegion(0, 0, 0, 0, 0x140, 0xC8, 2, 0, Screen::CR_NO_P_CHECK);
 			_screen->updateScreen();
 			_screen->showMouse();
 		}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list