aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d/versailles
diff options
context:
space:
mode:
authorLe Philousophe2019-03-12 08:43:56 +0100
committerEugene Sandulenko2019-06-01 22:43:48 +0200
commit84b60b92bdd68077394e35c7b189b4f827b1c607 (patch)
tree7bdaed8f933bfbe666f5ead5a06d260f97fd95bf /engines/cryomni3d/versailles
parent01234cd773832548113e4607eaacb6022bfd829b (diff)
downloadscummvm-rg350-84b60b92bdd68077394e35c7b189b4f827b1c607.tar.gz
scummvm-rg350-84b60b92bdd68077394e35c7b189b4f827b1c607.tar.bz2
scummvm-rg350-84b60b92bdd68077394e35c7b189b4f827b1c607.zip
CRYOMNI3D: Fix appending of files extensions
We clear the previous extension and even if there is none, we must append the new one
Diffstat (limited to 'engines/cryomni3d/versailles')
-rw-r--r--engines/cryomni3d/versailles/dialogs_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cryomni3d/versailles/dialogs_manager.cpp b/engines/cryomni3d/versailles/dialogs_manager.cpp
index 4180a65d98..59bcedd093 100644
--- a/engines/cryomni3d/versailles/dialogs_manager.cpp
+++ b/engines/cryomni3d/versailles/dialogs_manager.cpp
@@ -353,8 +353,8 @@ void Versailles_DialogsManager::loadFrame(const Common::String &video) {
}
if (lastDotPos > -1) {
videoFName.erase(lastDotPos);
- videoFName += ".hnm";
}
+ videoFName += ".hnm";
Video::HNMDecoder *videoDecoder = new Video::HNMDecoder();