File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate
Generals/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1002,8 +1002,8 @@ Bool ChinookAIUpdate::chooseLocomotorSet(LocomotorSetType wst)
10021002UpdateSleepTime ChinookAIUpdate::update ()
10031003{
10041004 ParkingPlaceBehaviorInterface* pp = getPP (m_airfieldForHealing);
1005- ContainModuleInterface* contain = getObject ()->getContain ();
1006- Bool waitingToEnterOrExit = contain && contain->hasObjectsWantingToEnterOrExit ();
1005+ const ContainModuleInterface* contain = getObject ()->getContain ();
1006+ const Bool waitingToEnterOrExit = contain && contain->hasObjectsWantingToEnterOrExit ();
10071007
10081008 if (pp != NULL )
10091009 {
Original file line number Diff line number Diff line change @@ -1064,8 +1064,8 @@ Bool ChinookAIUpdate::chooseLocomotorSet(LocomotorSetType wst)
10641064UpdateSleepTime ChinookAIUpdate::update ()
10651065{
10661066 ParkingPlaceBehaviorInterface* pp = getPP (m_airfieldForHealing);
1067- ContainModuleInterface* contain = getObject ()->getContain ();
1068- Bool waitingToEnterOrExit = contain && contain->hasObjectsWantingToEnterOrExit ();
1067+ const ContainModuleInterface* contain = getObject ()->getContain ();
1068+ const Bool waitingToEnterOrExit = contain && contain->hasObjectsWantingToEnterOrExit ();
10691069
10701070 if (pp != NULL )
10711071 {
You can’t perform that action at this time.
0 commit comments