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/animation_he.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/animation_he.cpp')
-rw-r--r-- | engines/scumm/he/animation_he.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/he/animation_he.cpp b/engines/scumm/he/animation_he.cpp index d01b456c8b..c736c6a04c 100644 --- a/engines/scumm/he/animation_he.cpp +++ b/engines/scumm/he/animation_he.cpp @@ -57,7 +57,7 @@ int MoviePlayer::getImageNum() { return _wizResNum; } -int MoviePlayer::load(const char *filename, int flags, int image) { +int MoviePlayer::load(const Common::String &filename, int flags, int image) { if (_video->isVideoLoaded()) _video->close(); @@ -65,13 +65,13 @@ int MoviePlayer::load(const char *filename, int flags, int image) { _video->setDefaultHighColorFormat(g_system->getScreenFormat()); if (!_video->loadFile(filename)) { - warning("Failed to load video file %s", filename); + warning("Failed to load video file %s", filename.c_str()); return -1; } _video->start(); - debug(1, "Playing video %s", filename); + debug(1, "Playing video %s", filename.c_str()); if (flags & 2) _vm->_wiz->createWizEmptyImage(image, 0, 0, _video->getWidth(), _video->getHeight()); |