mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
* next part of hero exchange window
* minor changes
This commit is contained in:
@@ -216,7 +216,7 @@ CLoadFile::CLoadFile( const std::string &fname )
|
||||
|
||||
if(std::memcmp(buffer,"VCMI",4))
|
||||
{
|
||||
tlog1 << "Error: wrong save format!\n";
|
||||
tlog1 << "Error: wrong save format! (file " << fname << " )\n";
|
||||
delete sfile;
|
||||
sfile = NULL;
|
||||
return;
|
||||
@@ -225,7 +225,7 @@ CLoadFile::CLoadFile( const std::string &fname )
|
||||
*this >> myVersion;
|
||||
if(myVersion != version)
|
||||
{
|
||||
tlog1 << "Wrong save format!\n";
|
||||
tlog1 << "Wrong save format! (file " << fname << " )\n";
|
||||
delete sfile;
|
||||
sfile = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user