Codechange: hide the map's size related fields in the Map structure
This commit is contained in:
@@ -413,9 +413,9 @@ bool CrashLog::WriteCrashLog(const char *buffer, char *filename, const char *fil
|
||||
*/
|
||||
bool CrashLog::WriteSavegame(char *filename, const char *filename_last) const
|
||||
{
|
||||
/* If the map array doesn't exist, saving will fail too. If the map got
|
||||
/* If the map doesn't exist, saving will fail too. If the map got
|
||||
* initialised, there is a big chance the rest is initialised too. */
|
||||
if (_m == nullptr) return false;
|
||||
if (!Map::IsInitialized()) return false;
|
||||
|
||||
try {
|
||||
GamelogEmergency();
|
||||
|
Reference in New Issue
Block a user