diff options
| -rw-r--r-- | engines/gob/inter_v2.cpp | 8 | 
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp index 143a9f2b18..b4e5bf7623 100644 --- a/engines/gob/inter_v2.cpp +++ b/engines/gob/inter_v2.cpp @@ -1305,8 +1305,14 @@ bool Inter_v2::o2_checkData(OpFuncParams ¶ms) {  	char *file = _vm->_game->_script->getResultStr(); +	// WORKAROUND: In some games (at least all the Playtoons), some files are  +	// read on CD (and only on CD). "@:\" is replaced by the CD drive letter. +	// As the files are copied on the HDD, those characters are skipped.  +	if (strncmp(file, "@:\\", 3) ==0 ) +		file += 3; +  	// WORKAROUND: For some reason, the variable indicating which TOT to load next -	// is overwritten in the guard house card game in Woodruff +	// is overwritten in the guard house card game in Woodruff.  	if ((_vm->getGameType() == kGameTypeWoodruff) && !scumm_stricmp(file, "6.TOT"))  		strcpy(file, "EMAP2011.TOT");  | 
