feat(CI/Codestyle): added codestyle check (#3668)
This commit is contained in:
parent
57aa46244d
commit
ea93a5c1a1
400 changed files with 238 additions and 748 deletions
|
|
@ -400,7 +400,6 @@ void Map::DeleteFromWorld(Player* player)
|
|||
delete player;
|
||||
}
|
||||
|
||||
|
||||
void Map::EnsureGridCreated(const GridCoord& p)
|
||||
{
|
||||
if (getNGrid(p.x_coord, p.y_coord)) // pussywizard
|
||||
|
|
@ -628,7 +627,6 @@ bool Map::IsGridLoaded(const GridCoord& p) const
|
|||
return (getNGrid(p.x_coord, p.y_coord) && isGridObjectDataLoaded(p.x_coord, p.y_coord));
|
||||
}
|
||||
|
||||
|
||||
void Map::VisitNearbyCellsOfPlayer(Player* player, TypeContainerVisitor<acore::ObjectUpdater, GridTypeMapContainer>& gridVisitor,
|
||||
TypeContainerVisitor<acore::ObjectUpdater, WorldTypeMapContainer>& worldVisitor,
|
||||
TypeContainerVisitor<acore::ObjectUpdater, GridTypeMapContainer>& largeGridVisitor,
|
||||
|
|
@ -1993,7 +1991,6 @@ float Map::GetMinHeight(float x, float y) const
|
|||
return -500.0f;
|
||||
}
|
||||
|
||||
|
||||
inline bool IsOutdoorWMO(uint32 mogpFlags, int32 /*adtId*/, int32 /*rootId*/, int32 /*groupId*/, WMOAreaTableEntry const* wmoEntry, AreaTableEntry const* atEntry)
|
||||
{
|
||||
bool outdoor = true;
|
||||
|
|
@ -3477,7 +3474,6 @@ bool Map::CanReachPositionAndGetCoords(Unit* who, float startX, float startY, fl
|
|||
destZ = _map->GetHeight(who->GetPhaseMask(), destX, destY, destZ, true);
|
||||
}
|
||||
|
||||
|
||||
if (destZ <= INVALID_HEIGHT || (destZ - startZ) > maxHeight)
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue