mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 04:37:06 +00:00
[10610] Renamed some functions from the Creature class
Also other classes have been affected, due to the use of search&replace. This will probably break some patches and 3rd party libraries, so make sure to update them if required. Thanks to Phille for the original idea and patch!
This commit is contained in:
parent
d090bce461
commit
61102e3b16
50 changed files with 305 additions and 305 deletions
|
|
@ -78,7 +78,7 @@ void WaypointMovementGenerator<Creature>::LoadPath(Creature &creature)
|
|||
// We have to set the destination here (for the first point), right after Initialize. Without, we may not have valid xyz for GetResetPosition
|
||||
CreatureTraveller traveller(creature);
|
||||
|
||||
if (creature.canFly())
|
||||
if (creature.CanFly())
|
||||
creature.AddSplineFlag(SPLINEFLAG_UNKNOWN7);
|
||||
|
||||
const WaypointNode &node = i_path->at(i_currentNode);
|
||||
|
|
@ -155,7 +155,7 @@ bool WaypointMovementGenerator<Creature>::Update(Creature &creature, const uint3
|
|||
|
||||
creature.addUnitState(UNIT_STAT_ROAMING_MOVE);
|
||||
|
||||
if (creature.canFly())
|
||||
if (creature.CanFly())
|
||||
creature.AddSplineFlag(SPLINEFLAG_UNKNOWN7);
|
||||
|
||||
// Now we re-set destination to same node and start travel
|
||||
|
|
@ -253,7 +253,7 @@ bool WaypointMovementGenerator<Creature>::Update(Creature &creature, const uint3
|
|||
{
|
||||
creature.addUnitState(UNIT_STAT_ROAMING_MOVE);
|
||||
|
||||
if (creature.canFly())
|
||||
if (creature.CanFly())
|
||||
creature.AddSplineFlag(SPLINEFLAG_UNKNOWN7);
|
||||
|
||||
if (WaypointBehavior *behavior = i_path->at(i_currentNode).behavior)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue