File tree Expand file tree Collapse file tree
GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Contain
Generals/Code/GameEngine/Source/GameLogic/Object/Contain Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ Bool TransportContain::isSpecificRiderFreeToExit(Object* specificObject)
460460 // TheSuperHackers @bugfix Stubbjax 02/03/2026 If our parent container is held, then we
461461 // are not free to exit.
462462 DEBUG_ASSERTCRASH (specificObject->getContainedBy (), (" rider must be contained" ));
463- if (specificObject->getContainedBy ()->isDisabledByType (DISABLED_HELD))
463+ if (specificObject->getContainedBy () && specificObject-> getContainedBy () ->isDisabledByType (DISABLED_HELD))
464464 return FALSE ;
465465#endif
466466
Original file line number Diff line number Diff line change @@ -571,7 +571,7 @@ Bool TransportContain::isSpecificRiderFreeToExit(Object* specificObject)
571571 // TheSuperHackers @bugfix Stubbjax 02/03/2026 If our parent container is held, then we
572572 // are not free to exit.
573573 DEBUG_ASSERTCRASH (specificObject->getContainedBy (), (" rider must be contained" ));
574- if (specificObject->getContainedBy ()->isDisabledByType (DISABLED_HELD))
574+ if (specificObject->getContainedBy () && specificObject-> getContainedBy () ->isDisabledByType (DISABLED_HELD))
575575 return FALSE ;
576576#endif
577577
You can’t perform that action at this time.
0 commit comments