diff options
author | uruk | 2014-08-11 15:42:55 +0200 |
---|---|---|
committer | uruk | 2014-08-11 15:42:55 +0200 |
commit | f8e60e467fdcff8b36eb0bfad2a4c53459462fe6 (patch) | |
tree | a3a6b60d80a28c659eb906cbf055397e7d29d0d0 /engines/cge2 | |
parent | c3a5a9177b162beb70f28aa1f9408559f9482cbb (diff) | |
download | scummvm-rg350-f8e60e467fdcff8b36eb0bfad2a4c53459462fe6.tar.gz scummvm-rg350-f8e60e467fdcff8b36eb0bfad2a4c53459462fe6.tar.bz2 scummvm-rg350-f8e60e467fdcff8b36eb0bfad2a4c53459462fe6.zip |
CGE2: Make movie() safer.
Diffstat (limited to 'engines/cge2')
-rw-r--r-- | engines/cge2/cge2_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index c8c3a1e77a..7900eefb86 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -387,7 +387,7 @@ void CGE2Engine::movie(const char *ext) { return; char fn[12]; - sprintf(fn, "CGE.%s", (*ext == '.') ? ext + 1 : ext); + sprintf(fn, "CGE%s", ext); if (_resman->exist(fn)) { int now = _now; |