From 890a2ef93c32d50c3df822ded23360e8a1debe05 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 1 Oct 2006 10:56:12 +0000 Subject: Fixed msvc8 build. svn-id: r24054 --- engines/agos/game.cpp | 2 +- engines/agos/items.cpp | 2 +- engines/agos/vga.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/agos') diff --git a/engines/agos/game.cpp b/engines/agos/game.cpp index 087effeb8e..c3af1c7c80 100644 --- a/engines/agos/game.cpp +++ b/engines/agos/game.cpp @@ -1515,7 +1515,7 @@ static GameDescription gameDescriptions[] = { }; DetectedGame toDetectedGame(const GameDescription &g) { - const char *title; + const char *title = 0; const PlainGameDescriptor *sg = simonGames; while (sg->gameid) { diff --git a/engines/agos/items.cpp b/engines/agos/items.cpp index 1ed4968854..da3f5a756b 100644 --- a/engines/agos/items.cpp +++ b/engines/agos/items.cpp @@ -2539,7 +2539,7 @@ void AGOSEngine::o4_checkHiScores() { void AGOSEngine::o4_sync() { // 120: sync uint a = getVarOrWord(); - if (a == 8001 | a == 8101 || a == 8201 || a == 8301 || a == 8401) { + if (a == 8001 || a == 8101 || a == 8201 || a == 8301 || a == 8401) { _marks &= ~(1 << 2); } sendSync(a); diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp index 857270dad7..e336f93e43 100644 --- a/engines/agos/vga.cpp +++ b/engines/agos/vga.cpp @@ -1642,7 +1642,7 @@ void AGOSEngine::vc21_endRepeat() { void AGOSEngine::vc22_setSpritePalette() { byte *offs, *palptr, *src; - uint16 a, b, num, palSize; + uint16 a = 0, b, num, palSize; if (getGameType() != GType_WW) a = vcReadNextWord(); -- cgit v1.2.3