summaryrefslogtreecommitdiff
path: root/src/effectvehicle.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2021-02-20 19:01:04 +0100
committerGitHub <noreply@github.com>2021-02-20 19:01:04 +0100
commitd9b4413bc90acd862ecdd9e03c1403f5c07db481 (patch)
tree966d75796f33ca6226e267d4eb8d69f026d94508 /src/effectvehicle.cpp
parentcb95b1d2e7cac8ec0e9abbf773ee1c08300103c9 (diff)
downloadopenttd-d9b4413bc90acd862ecdd9e03c1403f5c07db481.tar.xz
Codechange: rename sound ids to make more sense. (#8701)
Diffstat (limited to 'src/effectvehicle.cpp')
-rw-r--r--src/effectvehicle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effectvehicle.cpp b/src/effectvehicle.cpp
index d92999a66..9f1f07017 100644
--- a/src/effectvehicle.cpp
+++ b/src/effectvehicle.cpp
@@ -499,7 +499,7 @@ static bool BubbleTick(EffectVehicle *v)
if (b->y == 4 && b->x == 1) {
if (v->z_pos > 180 || Chance16I(1, 96, Random())) {
v->spritenum = 5;
- if (_settings_client.sound.ambient) SndPlayVehicleFx(SND_2F_POP, v);
+ if (_settings_client.sound.ambient) SndPlayVehicleFx(SND_2F_BUBBLE_GENERATOR_FAIL, v);
}
anim_state = 0;
}
@@ -508,7 +508,7 @@ static bool BubbleTick(EffectVehicle *v)
TileIndex tile;
anim_state++;
- if (_settings_client.sound.ambient) SndPlayVehicleFx(SND_31_EXTRACT, v);
+ if (_settings_client.sound.ambient) SndPlayVehicleFx(SND_31_BUBBLE_GENERATOR_SUCCESS, v);
tile = TileVirtXY(v->x_pos, v->y_pos);
if (IsTileType(tile, MP_INDUSTRY) && GetIndustryGfx(tile) == GFX_BUBBLE_CATCHER) AddAnimatedTile(tile);