Skip to content
Merged
Show file tree
Hide file tree
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 @@ -503,7 +503,13 @@ void TransportContain::onCapture( Player *oldOwner, Player *newOwner )
else
{
//Use standard
#if RETAIL_COMPATIBLE_CRC
orderAllPassengersToExit( CMD_FROM_AI );
#else
Comment thread
Skyaero42 marked this conversation as resolved.
// TheSuperHackers @bugfix Stubbjax 20/11/2025 Only eject passengers if the new owner is not allied with the old owner.
if (oldOwner->getRelationship(newOwner->getDefaultTeam()) != ALLIES)
orderAllPassengersToExit(CMD_FROM_AI);
Comment thread
Skyaero42 marked this conversation as resolved.
#endif
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,13 @@ void TransportContain::onCapture( Player *oldOwner, Player *newOwner )
else
{
//Use standard
#if RETAIL_COMPATIBLE_CRC
orderAllPassengersToExit( CMD_FROM_AI, FALSE );
#else
// TheSuperHackers @bugfix Stubbjax 20/11/2025 Only eject passengers if the new owner is not allied with the old owner.
if (oldOwner->getRelationship(newOwner->getDefaultTeam()) != ALLIES)
orderAllPassengersToExit(CMD_FROM_AI, FALSE);
#endif
}
}
}
Expand Down
Loading