Core/Maps: Fix crash in ExistMap, fixes issue 4115
--HG-- branch : trunk
This commit is contained in:
@@ -78,9 +78,9 @@ bool Map::ExistMap(uint32 mapid,int gx,int gy)
|
||||
else
|
||||
ret = true;
|
||||
}
|
||||
fclose(pf);
|
||||
}
|
||||
delete [] tmp;
|
||||
fclose(pf); //close file before return
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user