mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 03:09:49 +02:00
sonar ping only for teammates
This commit is contained in:
@@ -1686,7 +1686,9 @@ void Game::addOrReplaceInHighlightedCells(MarkedCell mc){
|
||||
highlightedCells.push_back(mc);
|
||||
CoreData &coreData= CoreData::getInstance();
|
||||
SoundRenderer &soundRenderer= SoundRenderer::getInstance();
|
||||
soundRenderer.playFx(coreData.getMarkerSound());
|
||||
if(mc.getFaction() != NULL && mc.getFaction()->getTeam() == getWorld()->getThisFaction()->getTeam()) {
|
||||
soundRenderer.playFx(coreData.getMarkerSound());
|
||||
}
|
||||
}
|
||||
|
||||
void Game::ReplaceDisconnectedNetworkPlayersWithAI(bool isNetworkGame, NetworkRole role) {
|
||||
|
Reference in New Issue
Block a user