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
|
else
|
||||||
ret = true;
|
ret = true;
|
||||||
}
|
}
|
||||||
|
fclose(pf);
|
||||||
}
|
}
|
||||||
delete [] tmp;
|
delete [] tmp;
|
||||||
fclose(pf); //close file before return
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user