Core/Phasing: reducde differences between 434 and PR
This commit is contained in:
1 parent
8e1f0da71e
commit
e8b9a84594
3 files changed
+23
-4
No files matched your search
@@ -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