From d7dafdd8db63647287ba17e34812c8f4cbddbbcc Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 15 Jul 2006 21:22:42 +0000 Subject: Fix building with msvc8. svn-id: r23517 --- engines/gob/video_v1.cpp | 2 +- engines/gob/video_v2.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/gob/video_v1.cpp b/engines/gob/video_v1.cpp index 7f7910fad6..88ef8a6aa1 100644 --- a/engines/gob/video_v1.cpp +++ b/engines/gob/video_v1.cpp @@ -38,7 +38,7 @@ Video_v1::Video_v1(GobEngine *vm) : Video(vm) { //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(); diff --git a/engines/gob/video_v2.cpp b/engines/gob/video_v2.cpp index 22af58a0a8..f11b94de93 100644 --- a/engines/gob/video_v2.cpp +++ b/engines/gob/video_v2.cpp @@ -38,7 +38,7 @@ Video_v2::Video_v2(GobEngine *vm) : Video_v1(vm) { //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(); -- cgit v1.2.3