summaryrefslogtreecommitdiff
path: root/src/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound.cpp')
-rw-r--r--src/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound.cpp b/src/sound.cpp
index 9995ec190..1c476a9bb 100644
--- a/src/sound.cpp
+++ b/src/sound.cpp
@@ -245,8 +245,8 @@ void SndPlayTileFx(SoundFx sound, TileIndex tile)
void SndPlayVehicleFx(SoundFx sound, const Vehicle *v)
{
SndPlayScreenCoordFx(sound,
- v->left_coord, v->right_coord,
- v->top_coord, v->top_coord
+ v->coord.left, v->coord.right,
+ v->coord.top, v->coord.bottom
);
}