diff options
-rw-r--r-- | src/game/WaypointMovementGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/WaypointMovementGenerator.cpp b/src/game/WaypointMovementGenerator.cpp index a31afaa5b14..a8ca89d6fed 100644 --- a/src/game/WaypointMovementGenerator.cpp +++ b/src/game/WaypointMovementGenerator.cpp @@ -88,7 +88,7 @@ void WaypointMovementGenerator<Creature>::InitTraveller(Creature &unit, const Wa // TODO: make this part of waypoint node, so that creature can walk when desired? if (unit.canFly()) - SetByteFlag(UNIT_FIELD_BYTES_1, 3, 0x02); + unit.SetByteFlag(UNIT_FIELD_BYTES_1, 3, 0x02); unit.addUnitState(UNIT_STAT_ROAMING); } |