mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Fix regression - crash on attempt to load saved game
This commit is contained in:
@@ -1606,8 +1606,8 @@ void CGameHandler::save(const std::string & filename)
|
||||
|
||||
void CGameHandler::load(const StartInfo &info)
|
||||
{
|
||||
logGlobal->info("Loading from %s", info.fileURI);
|
||||
const auto stem = FileInfo::GetPathStem(info.fileURI);
|
||||
logGlobal->info("Loading from %s", info.mapname);
|
||||
const auto stem = FileInfo::GetPathStem(info.mapname);
|
||||
|
||||
reinitScripting();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user