From 4d008f2043084b72fb9d4a9929ff2793c7bbd8ee Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 4 Feb 2009 10:33:18 -0600 Subject: Replace tabs with spaces, and fix crlf issues --HG-- branch : trunk --- src/game/PointMovementGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/PointMovementGenerator.cpp') diff --git a/src/game/PointMovementGenerator.cpp b/src/game/PointMovementGenerator.cpp index bb37d7b9479..a4795974e96 100644 --- a/src/game/PointMovementGenerator.cpp +++ b/src/game/PointMovementGenerator.cpp @@ -32,7 +32,7 @@ void PointMovementGenerator::Initialize(T &unit) unit.StopMoving(); Traveller traveller(unit); i_destinationHolder.SetDestination(traveller,i_x,i_y,i_z); - + if (unit.GetTypeId() == TYPEID_UNIT && ((Creature*)&unit)->canFly()) unit.AddUnitMovementFlag(MOVEMENTFLAG_FLYING2); } -- cgit v1.2.3