diff options
author | Matthew Hoops | 2013-07-15 22:52:03 -0400 |
---|---|---|
committer | Matthew Hoops | 2013-10-05 15:45:36 -0400 |
commit | 3bfd42220533a3f2cd19e8f8a726ecc48ee97625 (patch) | |
tree | abf18fc030d69183fe98a854b77bcac386bcac01 /engines/scumm/he/script_v90he.cpp | |
parent | 3f65a02ced741979ede333539bac67ead9dbc368 (diff) | |
download | scummvm-rg350-3bfd42220533a3f2cd19e8f8a726ecc48ee97625.tar.gz scummvm-rg350-3bfd42220533a3f2cd19e8f8a726ecc48ee97625.tar.bz2 scummvm-rg350-3bfd42220533a3f2cd19e8f8a726ecc48ee97625.zip |
SCUMM: Make all HE saves prepend the target name
This makes HE follow the ScummVM convention of using the target name everywhere. It also fixes having more than one team in both soccer and football.
Loading old saves will still work and they will be tried if the newer save names are not found.
Diffstat (limited to 'engines/scumm/he/script_v90he.cpp')
-rw-r--r-- | engines/scumm/he/script_v90he.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/scumm/he/script_v90he.cpp b/engines/scumm/he/script_v90he.cpp index 1ea9960a18..f844c51cc6 100644 --- a/engines/scumm/he/script_v90he.cpp +++ b/engines/scumm/he/script_v90he.cpp @@ -1429,11 +1429,10 @@ void ScummEngine_v90he::o90_videoOps() { if (_videoParams.flags == 0) _videoParams.flags = 4; - const char *filename = (char *)_videoParams.filename + convertFilePath(_videoParams.filename, sizeof(_videoParams.filename)); if (_videoParams.flags & 2) { - VAR(119) = _moviePlay->load(filename, _videoParams.flags, _videoParams.wizResNum); + VAR(119) = _moviePlay->load(convertFilePath(_videoParams.filename), _videoParams.flags, _videoParams.wizResNum); } else { - VAR(119) = _moviePlay->load(filename, _videoParams.flags); + VAR(119) = _moviePlay->load(convertFilePath(_videoParams.filename), _videoParams.flags); } } else if (_videoParams.status == 165) { // Stop video |