aboutsummaryrefslogtreecommitdiff
path: root/src/game/Vehicle.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-09-04 22:41:39 -0500
committermegamage <none@none>2009-09-04 22:41:39 -0500
commit0b605fcb88d5922191434ff300db30bb68869230 (patch)
treea6c1f93884598ed2e54271886c862f4b69202c73 /src/game/Vehicle.cpp
parent52f243563f456a973d5efdbce6a203a1b0d2c7fd (diff)
*Add a dk quest sql back. It was removed by mistake in 5119, but was never added back.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Vehicle.cpp')
-rw-r--r--src/game/Vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Vehicle.cpp b/src/game/Vehicle.cpp
index 0a0a9dbc4a4..50236430bbe 100644
--- a/src/game/Vehicle.cpp
+++ b/src/game/Vehicle.cpp
@@ -268,7 +268,7 @@ bool Vehicle::AddPassenger(Unit *unit, int8 seatId)
me->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_SPELLCLICK);
}
- if(seat->second.seatInfo->m_flags && !(seat->second.seatInfo->m_flags & 0x4000))
+ if(seat->second.seatInfo->m_flags && !(seat->second.seatInfo->m_flags & 0x400))
unit->addUnitState(UNIT_STAT_ONVEHICLE);
//SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PLAYER_CONTROLLED);