Warning fix.

This commit is contained in:
Shauren committed 2016-02-12 20:45:09 +01:00
1 parent fa3f106693
commit ff45a422c5
1 file changed
+1 -1
+1 -1
View File
@@ -2428,7 +2428,7 @@ uint32 Map::GetAreaId(float x, float y, float z, bool *isOutdoors) const
atEntry = sAreaTableStore.LookupEntry(wmoEntry->areaId);
}
uint32 areaId;
uint32 areaId = 0;
if (atEntry)
areaId = atEntry->ID;