[Scummvm-cvs-logs] SF.net SVN: scummvm: [28801] scummvm/trunk/engines/agi/preagi_mickey.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Sat Sep 1 21:03:22 CEST 2007


Revision: 28801
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28801&view=rev
Author:   sev
Date:     2007-09-01 12:03:22 -0700 (Sat, 01 Sep 2007)

Log Message:
-----------
Fix compilation and warnings.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/preagi_mickey.cpp

Modified: scummvm/trunk/engines/agi/preagi_mickey.cpp
===================================================================
--- scummvm/trunk/engines/agi/preagi_mickey.cpp	2007-09-01 18:46:55 UTC (rev 28800)
+++ scummvm/trunk/engines/agi/preagi_mickey.cpp	2007-09-01 19:03:22 UTC (rev 28801)
@@ -411,6 +411,8 @@
 					break;
 				}
 				break;
+			default:
+				break;
 			}
 			animate();
 			drawMenu(menu, *sel0, *sel1);
@@ -870,7 +872,7 @@
 
 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::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 @@
 	drawRoom();
 	printRoomDesc();
 
-#ifndef _DEBUG
+#ifdef _DEBUG
 	PlaySound(IDI_MSA_SND_SHIP_LAND);
 #endif
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list