summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-11-10 16:50:00 +0000
committerfrosch <frosch@openttd.org>2009-11-10 16:50:00 +0000
commit364eb961aeb135e44786ebe2e17712b0ef9a0103 (patch)
tree3c89858824791c07ccfab20ef9065cb53638a9de /src
parent15ede6b76339b13fb1e27d0914660ea4a5b30ee8 (diff)
downloadopenttd-364eb961aeb135e44786ebe2e17712b0ef9a0103.tar.xz
(svn r18036) -Fix (r17999): Always two they are.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 3da5acec5..c64f12b81 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -5141,7 +5141,7 @@ static void LoadGRFSound(byte *buf, uint len)
case 'atad': // 'data'
sound->file_size = size;
- sound->file_offset = FioGetPos() - (len - (buf - buf_start)) + 1;
+ sound->file_offset = FioGetPos() - (len - (buf - buf_start));
sound->file_slot = _file_index;
/* Set default volume and priority */