From 6917c057dee1a4d899a15117b455533f29d3594f Mon Sep 17 00:00:00 2001 From: Trazom62 Date: Sat, 3 Apr 2010 14:17:33 +0200 Subject: Fix compile. Fixes issue #1443. --HG-- branch : trunk --- src/game/WaypointMovementGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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::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); } -- cgit v1.2.3