[Scummvm-cvs-logs] SF.net SVN: scummvm:[53038] scummvm/branches/branch-1-2-0/engines/gob/ mult_v2.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Tue Oct 5 23:23:04 CEST 2010
Revision: 53038
http://scummvm.svn.sourceforge.net/scummvm/?rev=53038&view=rev
Author: drmccoy
Date: 2010-10-05 21:23:04 +0000 (Tue, 05 Oct 2010)
Log Message:
-----------
GOB: Backport: Try to also open VMD files in Gob3 Win
Because the scripts reference it as IMD, while there are actually
only VMDs files in the data files of the Windows version
Modified Paths:
--------------
scummvm/branches/branch-1-2-0/engines/gob/mult_v2.cpp
Modified: scummvm/branches/branch-1-2-0/engines/gob/mult_v2.cpp
===================================================================
--- scummvm/branches/branch-1-2-0/engines/gob/mult_v2.cpp 2010-10-05 21:22:30 UTC (rev 53037)
+++ scummvm/branches/branch-1-2-0/engines/gob/mult_v2.cpp 2010-10-05 21:23:04 UTC (rev 53038)
@@ -272,9 +272,9 @@
memcpy(_multData->imdFiles,
_vm->_game->_script->getData() + _vm->_game->_script->pos(), size * 14);
- // WORKAROUND: The Windows version of Lost in Time has VMD not IMD files,
- // but they are still referenced as IMD.
- if ((_vm->getGameType() == kGameTypeLostInTime) &&
+ // WORKAROUND: The Windows versions of Lost in Time and Gob3 have VMD not
+ // IMD files, but they are still referenced as IMD.
+ if (((_vm->getGameType() == kGameTypeLostInTime) || (_vm->getGameType() == kGameTypeGob3)) &&
(_vm->getPlatform() == Common::kPlatformWindows)) {
for (int i = 0; i < size; i++) {
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