diff --git a/Generals/Code/GameEngine/Source/GameLogic/System/GameLogicDispatch.cpp b/Generals/Code/GameEngine/Source/GameLogic/System/GameLogicDispatch.cpp index eeeefd1b2a..67efaeefe1 100644 --- a/Generals/Code/GameEngine/Source/GameLogic/System/GameLogicDispatch.cpp +++ b/Generals/Code/GameEngine/Source/GameLogic/System/GameLogicDispatch.cpp @@ -166,6 +166,7 @@ static void doSetRallyPoint( Object *obj, const Coord3D& pos ) // play the no can do sound static AudioEventRTS rallyNotSet("UnableToSetRallyPoint"); rallyNotSet.setPosition(&pos); + rallyNotSet.setPlayerIndex(obj->getControllingPlayer()->getPlayerIndex()); TheAudio->addAudioEvent(&rallyNotSet); } // end if diff --git a/GeneralsMD/Code/GameEngine/Source/GameLogic/System/GameLogicDispatch.cpp b/GeneralsMD/Code/GameEngine/Source/GameLogic/System/GameLogicDispatch.cpp index 75ad17edb3..56cdc67fb7 100644 --- a/GeneralsMD/Code/GameEngine/Source/GameLogic/System/GameLogicDispatch.cpp +++ b/GeneralsMD/Code/GameEngine/Source/GameLogic/System/GameLogicDispatch.cpp @@ -167,6 +167,7 @@ static void doSetRallyPoint( Object *obj, const Coord3D& pos ) // play the no can do sound static AudioEventRTS rallyNotSet("UnableToSetRallyPoint"); rallyNotSet.setPosition(&pos); + rallyNotSet.setPlayerIndex(obj->getControllingPlayer()->getPlayerIndex()); TheAudio->addAudioEvent(&rallyNotSet); } // end if