aboutsummaryrefslogtreecommitdiff
path: root/src/game/FleeingMovementGenerator.cpp
diff options
context:
space:
mode:
authorDrahy <none@none>2009-02-04 22:08:23 +0100
committerDrahy <none@none>2009-02-04 22:08:23 +0100
commit674477ddf8678d81d116df88b33160fa6be303cb (patch)
tree8dd3bac5ab94ee39d7b72588ce8fef231c70ddb0 /src/game/FleeingMovementGenerator.cpp
parent5d4d9530556eb66940775f12c3cc5f3c115447ca (diff)
parentc745eba4a1d122b4184b27a982674c86ff193c23 (diff)
* Huge merge with original branch
--HG-- branch : trunk
Diffstat (limited to 'src/game/FleeingMovementGenerator.cpp')
-rw-r--r--src/game/FleeingMovementGenerator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/FleeingMovementGenerator.cpp b/src/game/FleeingMovementGenerator.cpp
index 72d7ab1c3eb..c64b653d5e9 100644
--- a/src/game/FleeingMovementGenerator.cpp
+++ b/src/game/FleeingMovementGenerator.cpp
@@ -53,14 +53,14 @@ template<>
bool FleeingMovementGenerator<Creature>::GetDestination(float &x, float &y, float &z) const
{
if(i_destinationHolder.HasArrived())
- return false;
-
- i_destinationHolder.GetDestination(x, y, z);
+ return false;
+
+ i_destinationHolder.GetDestination(x, y, z);
return true;
}
template<>
-bool FleeingMovementGenerator<Player>::GetDestination(float &x, float &y, float &z) const
+bool FleeingMovementGenerator<Player>::GetDestination(float &x, float &y, float &z) const
{
return false;
}