diff options
-rw-r--r-- | engines/scumm/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp index a09d3efb5c..c8ded8a0c7 100644 --- a/engines/scumm/plugin.cpp +++ b/engines/scumm/plugin.cpp @@ -812,7 +812,7 @@ Common::String ScummEngine::generateFilename(const int room) const { if (_filenamePattern.genMethod == kGenHEPC) { // For HE >= 98, we already called snprintf above. - if (_game.heversion < 98) + if (_game.heversion < 98 || room < 0) snprintf(buf, sizeof(buf), "%s.he%c", _filenamePattern.pattern, id); } else { if (id == '3') { // special case for cursors |