Skip to content

Commit

Permalink
Revert "Play the oil pump sound effect."
Browse files Browse the repository at this point in the history
This reverts commit f8bdebf.
  • Loading branch information
KJeff01 committed Apr 2, 2018
1 parent 35b6a1a commit 1e86d2e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/game.cpp
Expand Up @@ -5266,10 +5266,6 @@ static bool loadSaveStructure2(const char *pFileName, STRUCTURE **ppList)
break;
case REF_RESOURCE_EXTRACTOR:
checkForPowerGen(psStructure);
if (selectedPlayer == psStructure->player)
{
audio_PlayObjStaticTrack(psStructure, ID_SOUND_OIL_PUMP_2);
}
break;
default:
//do nothing for factories etc
Expand Down
4 changes: 0 additions & 4 deletions src/structure.cpp
Expand Up @@ -5298,10 +5298,6 @@ void buildingComplete(STRUCTURE *psBuilding)
break;
case REF_RESOURCE_EXTRACTOR:
checkForPowerGen(psBuilding);
if (selectedPlayer == psBuilding->player)
{
audio_PlayObjStaticTrack(psBuilding, ID_SOUND_OIL_PUMP_2);
}
break;
case REF_RESEARCH:
//this deals with research facilities that are upgraded whilst mid-research
Expand Down

0 comments on commit 1e86d2e

Please sign in to comment.