diff options
author | Rubidium <rubidium@openttd.org> | 2021-04-13 21:58:56 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-08 12:39:34 +0200 |
commit | c097bc9d7d610b613f76152b3cdcb9be2af7a1c7 (patch) | |
tree | 1f6f7fad0d4b12626bc626a08127ebf50cd6721b /src/sound_type.h | |
parent | b144e56b2c4d92baa868435818a99faa8ed06439 (diff) | |
download | openttd-c097bc9d7d610b613f76152b3cdcb9be2af7a1c7.tar.xz |
Codechange: let NewGRF sounds make use of RandomAccessFile instead of the FIO slot functions
Diffstat (limited to 'src/sound_type.h')
-rw-r--r-- | src/sound_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_type.h b/src/sound_type.h index e8d4b7bec..02bfc4f83 100644 --- a/src/sound_type.h +++ b/src/sound_type.h @@ -11,7 +11,7 @@ #define SOUND_TYPE_H struct SoundEntry { - uint8 file_slot; + class RandomAccessFile *file; size_t file_offset; size_t file_size; uint16 rate; |