diff options
author | Trazom62 <none@none> | 2010-04-03 14:17:33 +0200 |
---|---|---|
committer | Trazom62 <none@none> | 2010-04-03 14:17:33 +0200 |
commit | 6917c057dee1a4d899a15117b455533f29d3594f (patch) | |
tree | eb6af9aff834c056a5393e2c57710a6a5e80d2a8 | |
parent | 2708b757e81183fe23bf435ae76dce4a5c6e6659 (diff) |
Fix compile.
Fixes issue #1443.
--HG--
branch : trunk
-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); } |