1
This commit is contained in:
parent
93495e51e0
commit
ea813bf43c
@ -700,8 +700,6 @@ void MapInstance::MarkMapAreaPolys()
|
||||
}
|
||||
|
||||
void MapInstance::LoadHeightData()
|
||||
{
|
||||
#if 1
|
||||
{
|
||||
FILE *fp = fopen(("main3d_mapHeight.txt"), "rb");
|
||||
if (!fp) {
|
||||
@ -715,6 +713,7 @@ void MapInstance::LoadHeightData()
|
||||
|
||||
navmesh::HeightList list;
|
||||
list.ParseFromArray(p, file_size);
|
||||
|
||||
if (list.width() != (int)GetMapMeta()->map_width() ||
|
||||
list.height() != (int)GetMapMeta()->map_height()) {
|
||||
A8_ABORT();
|
||||
@ -790,5 +789,3 @@ void MapInstance::LoadHeightData()
|
||||
free(p);
|
||||
fclose(fp);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user