Core/Phasing: fixed build
This commit is contained in:
1 parent
20d0aa0c23
commit
1583ae45a4
1 file changed
+1
-1
@@ -516,7 +516,7 @@ uint32 PhasingHandler::GetTerrainMapId(PhaseShift const& phaseShift, Map const*
|
||||
for (auto itr = phaseShift.VisibleMapIds.rbegin(); itr != phaseShift.VisibleMapIds.rend(); ++itr)
|
||||
for (int32 gxi = gxbegin; gxi < gxend; ++gxi)
|
||||
for (int32 gyi = gybegin; gyi < gyend; ++gyi)
|
||||
if (map->HasGrid(gxi, gyi))
|
||||
if (map->HasGrid(itr->first, gxi, gyi))
|
||||
return itr->first;
|
||||
|
||||
return map->GetId();
|
||||
|
||||
Reference in new issue
Block a user