aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorJohannes Schickel2006-10-01 10:56:12 +0000
committerJohannes Schickel2006-10-01 10:56:12 +0000
commit890a2ef93c32d50c3df822ded23360e8a1debe05 (patch)
tree4023780672c0993d145b8f6ee5c8522f66ebc6e3 /engines/agos
parent06dde0650fe0e9af350b6052f00a4b3d597e183f (diff)
downloadscummvm-rg350-890a2ef93c32d50c3df822ded23360e8a1debe05.tar.gz
scummvm-rg350-890a2ef93c32d50c3df822ded23360e8a1debe05.tar.bz2
scummvm-rg350-890a2ef93c32d50c3df822ded23360e8a1debe05.zip
Fixed msvc8 build.
svn-id: r24054
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/game.cpp2
-rw-r--r--engines/agos/items.cpp2
-rw-r--r--engines/agos/vga.cpp2
3 files changed, 3 insertions, 3 deletions
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();