mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Reverted r1992 for now [boost < 1.46 won't work with it]
This commit is contained in:
@@ -1373,7 +1373,7 @@ int CPlayerInterface::getLastIndex( std::string namePrefix)
|
||||
{
|
||||
if(is_regular(dir->status()))
|
||||
{
|
||||
std::string name = dir->path().leaf().string();
|
||||
std::string name = dir->path().leaf();
|
||||
if(starts_with(name, namePrefix) && ends_with(name, ".vlgm1"))
|
||||
{
|
||||
char nr = name[namePrefix.size()];
|
||||
|
||||
Reference in New Issue
Block a user