aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2008-12-29 15:08:10 +0000
committerFilippos Karapetis2008-12-29 15:08:10 +0000
commit2a5c51364768b132e12904e0c8191274d9cd795c (patch)
treedca842d6e637c3da3539db22a03fe493e7d97448 /engines
parent3e068720016beb2da765f47cf620dc455a19048e (diff)
downloadscummvm-rg350-2a5c51364768b132e12904e0c8191274d9cd795c.tar.gz
scummvm-rg350-2a5c51364768b132e12904e0c8191274d9cd795c.tar.bz2
scummvm-rg350-2a5c51364768b132e12904e0c8191274d9cd795c.zip
Fixed typo
svn-id: r35611
Diffstat (limited to 'engines')
-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)) {