Skip to content

Commit 25e8cb8

Browse files
committed
CRYOMNI3D: Fix save filename pattern
1 parent 9cecbee commit 25e8cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engines/cryomni3d/versailles/saveload.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void CryOmni3DEngine_Versailles::getSavesList(bool visit, Common::StringArray &s
6161
char saveName[kSaveDescriptionLen + 1];
6262
// Terminate saveName here forever (we don't overrun kSaveDescriptionLen)
6363
saveName[kSaveDescriptionLen] = '\0';
64-
Common::String pattern = Common::String::format("%s%s.????", _targetName.c_str(),
64+
Common::String pattern = Common::String::format("%s%s.####", _targetName.c_str(),
6565
visit ? "_visit" : "");
6666
Common::StringArray filenames = _saveFileMan->listSavefiles(pattern);
6767
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)

0 commit comments

Comments
 (0)