TrinityCore/TrinityCore — Issue #4271: [GDB-Backtrace] Vehicle::RemovePassenger
Author: Amit86
Created: 2011-12-11 22:28:07+00:00
State: open

Backtrace link: http://pastebin.com/AeR51VRL

Hash: c87d4a0b64499a6a8564e9c0ed44b2e7ceece569

Vehicle.cpp Contents:

```cpp

if (_me->GetTypeId() == TYPEID_UNIT
&& unit->GetTypeId() == TYPEID_PLAYER
&& seat->first == 0 && seat->second.SeatInfo->m_flags & VEHICLE_SEAT_FLAG_CAN_CONTROL)
{
if (!_me->SetCharmedBy(unit, CHARM_TYPE_VEHICLE))
ASSERT(false);
}
```

Last line in Server.log:
2011-12-12 00:17:17 ERROR:
/home/wow/hg/trinitycore/src/server/game/Entities/Vehicle/Vehicle.cpp:395 in RemovePassenger ASSERTION FAILED:
seat != Seats.end()