aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2006-07-15 21:22:42 +0000
committerJohannes Schickel2006-07-15 21:22:42 +0000
commitd7dafdd8db63647287ba17e34812c8f4cbddbbcc (patch)
tree57cfe5425ca54592f4e985d2fd377dbed8191b91
parent1a31d7da7ef04998e996b1e61d5f98725ffd0d2b (diff)
downloadscummvm-rg350-d7dafdd8db63647287ba17e34812c8f4cbddbbcc.tar.gz
scummvm-rg350-d7dafdd8db63647287ba17e34812c8f4cbddbbcc.tar.bz2
scummvm-rg350-d7dafdd8db63647287ba17e34812c8f4cbddbbcc.zip
Fix building with msvc8.
svn-id: r23517
-rw-r--r--engines/gob/video_v1.cpp2
-rw-r--r--engines/gob/video_v2.cpp2
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();