mirror of
https://github.com/scummvm/scummvm.git
synced 2026-11-18 21:34:48 +00:00
HDB: Simplify Voice struct
This commit is contained in:
1 parent
123b65931e
commit
5ba58bf03c
1 file changed
+1
-3
+1
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user