STARK: Fix having more than ten save files

This commit is contained in:
Bastien Bouclet 2015-09-05 21:30:07 +02:00
parent 5d512576f0
commit 6f100fab7e

View file

@ -230,8 +230,8 @@ public:
char slot[3];
for (Common::StringArray::const_iterator filename = filenames.begin(); filename != filenames.end(); ++filename) {
// Extract the slot number from the filename
slot[0] = filename->c_str()[5];
slot[1] = filename->c_str()[6];
slot[0] = filename->c_str()[4];
slot[1] = filename->c_str()[5];
slot[2] = '\0';
// Read the description from the save