mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fixed tracking autosaves.
This commit is contained in:
parent
a6f68d6870
commit
03fbd4e8a7
@ -1674,7 +1674,7 @@ int CPlayerInterface::getLastIndex( std::string namePrefix)
|
||||
if(is_regular(dir->status()))
|
||||
{
|
||||
std::string name = dir->path().leaf().string();
|
||||
if(starts_with(name, namePrefix) && ends_with(name, ".vlgm1"))
|
||||
if(starts_with(name, namePrefix) && ends_with(name, ".vcgm1"))
|
||||
{
|
||||
char nr = name[namePrefix.size()];
|
||||
if(std::isdigit(nr))
|
||||
|
Loading…
Reference in New Issue
Block a user