Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -579,11 +579,13 @@ Bool TransportContain::isSpecificRiderFreeToExit(Object* specificObject)
return FALSE;

#if !RETAIL_COMPATIBLE_CRC
// TheSuperHackers @bugfix Stubbjax 02/03/2026 If our parent container is held, then we
// are not free to exit.
DEBUG_ASSERTCRASH(specificObject->getContainedBy(), ("rider must be contained"));
if (specificObject->getContainedBy()->isDisabledByType(DISABLED_HELD))
// TheSuperHackers @bugfix Stubbjax/bobtista 01/08/2026 Riders are not free to exit when their
// container is contained by another object. A container merely held in place on the terrain,
// eg the battle bus, can still unload passengers.
if (me->getContainedBy() != nullptr)
{
return FALSE;
}
#endif

// I can always kick people out if I am in the air, I know what I'm doing
Expand Down
Loading