aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agos/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp
index 47ed5ade8e..ed4a85a7d5 100644
--- a/engines/agos/animation.cpp
+++ b/engines/agos/animation.cpp
@@ -508,7 +508,7 @@ MoviePlayer *makeMoviePlayer(AGOSEngine *vm, const char *name) {
// bug in a German Windows 2CD version.
char shortName[20];
memset(shortName, 0, sizeof(shortName));
- memcpy(shortName, filename, 6);
+ memcpy(shortName, baseName, 6);
sprintf(filename, "%s~1.dxa", shortName);
if (Common::File::exists(filename)) {