[Scummvm-cvs-logs] SF.net SVN: scummvm: [23517] scummvm/trunk/engines/gob
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Thu Jul 20 22:50:10 CEST 2006
Revision: 23517
http://svn.sourceforge.net/scummvm/?rev=23517&view=rev
Author: lordhoto
Date: 2006-07-15 14:22:42 -0700 (Sat, 15 Jul 2006)
Log Message:
-----------
Fix building with msvc8.
Modified Paths:
--------------
scummvm/trunk/engines/gob/video_v1.cpp
scummvm/trunk/engines/gob/video_v2.cpp
Modified: scummvm/trunk/engines/gob/video_v1.cpp
===================================================================
--- scummvm/trunk/engines/gob/video_v1.cpp 2006-07-15 21:22:07 UTC (rev 23516)
+++ scummvm/trunk/engines/gob/video_v1.cpp 2006-07-15 21:22:42 UTC (rev 23517)
@@ -38,7 +38,7 @@
//XXX: Use this function to update the screen for now.
// This should be moved to a better location later on.
void Video_v1::waitRetrace(int16) {
- CursorMan.showMouse((bool) (_vm->_draw->_showCursor & 2));
+ CursorMan.showMouse((_vm->_draw->_showCursor & 2) != 0);
if (_vm->_global->_pPrimarySurfDesc) {
g_system->copyRectToScreen(_vm->_global->_pPrimarySurfDesc->vidPtr, 320, 0, 0, 320, 200);
g_system->updateScreen();
Modified: scummvm/trunk/engines/gob/video_v2.cpp
===================================================================
--- scummvm/trunk/engines/gob/video_v2.cpp 2006-07-15 21:22:07 UTC (rev 23516)
+++ scummvm/trunk/engines/gob/video_v2.cpp 2006-07-15 21:22:42 UTC (rev 23517)
@@ -38,7 +38,7 @@
//XXX: Use this function to update the screen for now.
// This should be moved to a better location later on.
void Video_v2::waitRetrace(int16) {
- CursorMan.showMouse((bool) (_vm->_draw->_showCursor & 2));
+ CursorMan.showMouse((_vm->_draw->_showCursor & 2) != 0);
if (_vm->_draw->_frontSurface) {
g_system->copyRectToScreen(_vm->_draw->_frontSurface->vidPtr, 320, 0, 0, 320, 200);
g_system->updateScreen();
More information about the Scummvm-git-logs
mailing list