aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorsilver1ce <none@none>2010-01-20 15:05:58 +0200
committersilver1ce <none@none>2010-01-20 15:05:58 +0200
commit7ce1c094c0af82ff74e2a32d2e911dd81e730d8e (patch)
treea1df3ed4d8c59c3326a1722f865ea92a82d49676 /src/game/Unit.cpp
parent6e76e6725353638a79c6f55dcb236e35707ec3f3 (diff)
Fixes #420 fixed out-of-range group member's position update, which broken after 7014f421c8
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index fbd3444bd5d..aa37562df33 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -15943,7 +15943,7 @@ bool Unit::SetPosition(float x, float y, float z, float orientation, bool telepo
if ((relocated || turn) && IsVehicle())
GetVehicleKit()->RelocatePassengers(x,y,z,orientation);
- return true;
+ return (relocated || turn);
}
void Unit::SendThreatListUpdate()