diff options
author | Nipun Garg | 2019-07-25 08:57:59 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:28 +0200 |
commit | 5ba58bf03c41befe5086474170c2ea5d8a3d5d74 (patch) | |
tree | bf8ce75dd5bba27e92ae4b0c1cfd1da80b3dee0b /engines | |
parent | 123b65931e366ee759344a54dcbdf012f030b1cf (diff) | |
download | scummvm-rg350-5ba58bf03c41befe5086474170c2ea5d8a3d5d74.tar.gz scummvm-rg350-5ba58bf03c41befe5086474170c2ea5d8a3d5d74.tar.bz2 scummvm-rg350-5ba58bf03c41befe5086474170c2ea5d8a3d5d74.zip |
HDB: Simplify Voice struct
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/sound.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/hdb/sound.h b/engines/hdb/sound.h index 68501a14ec..8d98a45c8d 100644 --- a/engines/hdb/sound.h +++ b/engines/hdb/sound.h @@ -1415,11 +1415,9 @@ struct SoundLookUp { struct Voice { bool active; - int32 length; - int index; Audio::SoundHandle *handle; - Voice() : active(false), length(0), index(0), handle(new Audio::SoundHandle) {} + Voice() : active(false), handle(new Audio::SoundHandle) {} ~Voice() { delete handle; } |