Core/Maps: Fix crash in ExistMap, fixes issue 4115

--HG--
branch : trunk
This commit is contained in:
Shocker
2010-09-25 20:09:20 +03:00
parent e3648f0104
commit 87ff64431c
+1 -1
View File
@@ -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;
}