aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authorsilverice <none@none>2010-03-18 20:21:42 +0200
committersilverice <none@none>2010-03-18 20:21:42 +0200
commitaca2d26bc5060808b22bb268e3a04375a1ba6d18 (patch)
tree07c1faeaede1bd9d8d0ceba7c02070f87c8db7b3 /src/game/Unit.h
parent59e0d42260921d8d0d7d94ccdef78a4fcc149fbc (diff)
remove unused player's class member,cleanup
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 0bdb3e573e0..5e40703fd74 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1919,7 +1919,7 @@ class Unit : public WorldObject
void RemoveVehicleKit();
Vehicle *GetVehicleKit()const { return m_vehicleKit; }
Vehicle *GetVehicle() const { return m_vehicle; }
- bool IsOnVehicle(const Unit *unit) const { return m_vehicle && m_vehicle == unit->GetVehicleKit(); }
+ bool IsOnVehicle(const Unit *vehicle) const { return m_vehicle && m_vehicle == vehicle->GetVehicleKit(); }
Unit *GetVehicleBase() const;
Creature *GetVehicleCreatureBase() const;
float GetTransOffsetX() const { return m_movementInfo.t_x; }