[Scummvm-cvs-logs] SF.net SVN: scummvm: [21231] scummvm/trunk/engines/scumm/he/script_v72he.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Sun Mar 12 02:57:03 CET 2006


Revision: 21231
Author:   kirben
Date:     2006-03-12 02:56:14 -0800 (Sun, 12 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21231&view=rev

Log Message:
-----------
Unfortunately the workaround for Macintosh version of water is still required.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/he/script_v72he.cpp
Modified: scummvm/trunk/engines/scumm/he/script_v72he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v72he.cpp	2006-03-12 10:47:20 UTC (rev 21230)
+++ scummvm/trunk/engines/scumm/he/script_v72he.cpp	2006-03-12 10:56:14 UTC (rev 21231)
@@ -1759,6 +1759,13 @@
 
 	debug(1,"Original filename %s", filename);
 
+	// WORKAROUND: For filename difference in Macintosh version of water.
+	// Uses HE7 filename of 'Water (7)' instead of 'Water Worries (7)'.
+	if (_game.id == GID_WATER && _game.heversion == 99 && _game.platform == Common::kPlatformMacintosh &&
+		!strcmp((char *)filename, "Water Worries (7)")) {
+		strcpy((char *)filename, "Water (7)");
+	}
+
 	int r = convertFilePath(filename);
 	debug(1,"Final filename to %s", filename + r);
 


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