diff options
author | Eugene Sandulenko | 2007-09-01 19:03:22 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-09-01 19:03:22 +0000 |
commit | 19fde8da20afcdad723622bb6258090913bfdcf8 (patch) | |
tree | d947ed9e466970b63f9b217c64604343095ec1be | |
parent | 9db1525e50e76760cf4b5500de50514c08871886 (diff) | |
download | scummvm-rg350-19fde8da20afcdad723622bb6258090913bfdcf8.tar.gz scummvm-rg350-19fde8da20afcdad723622bb6258090913bfdcf8.tar.bz2 scummvm-rg350-19fde8da20afcdad723622bb6258090913bfdcf8.zip |
Fix compilation and warnings.
svn-id: r28801
-rw-r--r-- | engines/agi/preagi_mickey.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/agi/preagi_mickey.cpp b/engines/agi/preagi_mickey.cpp index f82fb7ef8a..f4f1887860 100644 --- a/engines/agi/preagi_mickey.cpp +++ b/engines/agi/preagi_mickey.cpp @@ -411,6 +411,8 @@ bool Mickey::getMenuSelRow(MSA_MENU menu, int *sel0, int *sel1, int iRow) { break; } break; + default: + break; } animate(); drawMenu(menu, *sel0, *sel1); @@ -870,7 +872,7 @@ bool Mickey::loadGame() { void Mickey::saveGame() { Common::File outfile; - char szFile[256] = {0}; + //char szFile[256] = {0}; bool diskerror = true; int sel; @@ -1109,7 +1111,7 @@ void Mickey::flipSwitch() { } void Mickey::inventory() { - int iRow = IDI_MSA_ROW_INV_ITEMS; + //int iRow = IDI_MSA_ROW_INV_ITEMS; char szCrystals[12] = {0}; sprintf(szCrystals, IDS_MSA_CRYSTALS, IDS_MSA_CRYSTAL_NO[game.nXtals]); @@ -1218,7 +1220,7 @@ void Mickey::intro() { drawRoom(); printRoomDesc(); -#ifndef _DEBUG +#ifdef _DEBUG PlaySound(IDI_MSA_SND_SHIP_LAND); #endif |