Skip to content

Commit

Permalink
Warning fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren committed Feb 12, 2016
1 parent fa3f106 commit ff45a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Maps/Map.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit ff45a42

Please sign in to comment.