mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 08:33:47 +00:00
fix(CORE): Missing override on various functions (#2602)
This commit is contained in:
@@ -62,7 +62,7 @@ void RandomMovementGenerator<Creature>::_setRandomLocation(Creature* creature)
|
||||
}
|
||||
|
||||
float ground = INVALID_HEIGHT;
|
||||
float levelZ = map->GetWaterOrGroundLevel(x, y, z+4.0f, &ground);
|
||||
float levelZ = map->GetWaterOrGroundLevel(creature->GetPhaseMask(), x, y, z+4.0f, &ground);
|
||||
float newZ = INVALID_HEIGHT;
|
||||
|
||||
// flying creature
|
||||
|
||||
@@ -346,6 +346,9 @@ void FlightPathMovementGenerator::DoReset(Player* player)
|
||||
|
||||
bool FlightPathMovementGenerator::DoUpdate(Player* player, uint32 /*diff*/)
|
||||
{
|
||||
if (!player)
|
||||
return false;
|
||||
|
||||
// xinef: map was switched
|
||||
if (_mapSwitch)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user