HDB: Simplify Voice struct

This commit is contained in:
Nipun Garg authored and Eugene Sandulenko committed 2019-09-03 17:17:28 +02:00
1 parent 123b65931e
commit 5ba58bf03c
1 file changed
+1 -3
+1 -3
View File
@@ -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;
}