diff options
Diffstat (limited to 'engines/agos/animation.cpp')
-rw-r--r-- | engines/agos/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp index 123e5805dd..e374c14701 100644 --- a/engines/agos/animation.cpp +++ b/engines/agos/animation.cpp @@ -519,7 +519,7 @@ bool MoviePlayerSMK::processFrame() { MoviePlayer *makeMoviePlayer(AGOSEngine_Feeble *vm, const char *name) { char baseName[40]; - char filename[20]; + char filename[45]; int baseLen = strlen(name) - 4; memset(baseName, 0, sizeof(baseName)); @@ -528,7 +528,7 @@ MoviePlayer *makeMoviePlayer(AGOSEngine_Feeble *vm, const char *name) { if (vm->getLanguage() == Common::DE_DEU && baseLen >= 8) { // Check short filename to work around // bug in a German Windows 2CD version. - char shortName[20]; + char shortName[10]; memset(shortName, 0, sizeof(shortName)); memcpy(shortName, baseName, 6); |