mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
- fixed crash on missing videos
- fixed savegames name selection
This commit is contained in:
@@ -1284,7 +1284,7 @@ void SelectionTab::select( int position )
|
||||
if(txt)
|
||||
{
|
||||
std::string filename = CResourceHandler::get()->getResourceName(
|
||||
ResourceID(curItems[py]->fileURI, EResType::MAP));
|
||||
ResourceID(curItems[py]->fileURI, EResType::LIB_SAVEGAME));
|
||||
txt->setTxt(CFileInfo(filename).getBaseName());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user