Merge pull request #16615 from Rochet2/patch-2

Fix build failing since 52758c1a0b
This commit is contained in:
Shauren
2016-02-15 00:01:19 +01:00

View File

@@ -2439,7 +2439,7 @@ uint32 Map::GetAreaId(float x, float y, float z, bool *isOutdoors) const
atEntry = sAreaTableStore.LookupEntry(wmoEntry->AreaTableID);
}
uint32 areaId;
uint32 areaId = 0;
if (atEntry)
areaId = atEntry->ID;