diff options
author | frosch <frosch@openttd.org> | 2009-11-10 16:50:00 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-11-10 16:50:00 +0000 |
commit | 364eb961aeb135e44786ebe2e17712b0ef9a0103 (patch) | |
tree | 3c89858824791c07ccfab20ef9065cb53638a9de /src | |
parent | 15ede6b76339b13fb1e27d0914660ea4a5b30ee8 (diff) | |
download | openttd-364eb961aeb135e44786ebe2e17712b0ef9a0103.tar.xz |
(svn r18036) -Fix (r17999): Always two they are.
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf.cpp | 2 |
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 */ |