summaryrefslogtreecommitdiff
path: root/src/sound.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-11 17:26:58 +0000
committerrubidium <rubidium@openttd.org>2009-03-11 17:26:58 +0000
commitfb2ea6c9ed56e0cb9daf9035e760934d5f28a585 (patch)
tree812c49cb0cecc9389ca6d00660746cdf9c4c7f63 /src/sound.cpp
parent66e0fcdd01f58c9fbc371299730436841a56d9ea (diff)
downloadopenttd-fb2ea6c9ed56e0cb9daf9035e760934d5f28a585.tar.xz
(svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect.
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
);
}