diff -r f5fb2d73ca12 -r bd4312619522 sound.c --- a/sound.c Fri Jan 07 12:33:28 2005 +0000 +++ b/sound.c Fri Jan 07 17:02:43 2005 +0000 @@ -331,8 +331,8 @@ void SndPlayTileFx(SoundFx sound, TileIndex tile) { /* emits sound from center (+ 8) of the tile */ - int x = GET_TILE_X(tile) * 16 + 8; - int y = GET_TILE_Y(tile) * 16 + 8; + int x = TileX(tile) * 16 + 8; + int y = TileY(tile) * 16 + 8; Point pt = RemapCoords(x, y, GetSlopeZ(x, y)); SndPlayScreenCoordFx(sound, pt.x, pt.y); }