mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(sound): correct type for SOUNDKITOBJECT::m_sound
This commit is contained in:
parent
cb669a8019
commit
a6a3cbb147
@ -233,7 +233,7 @@ void SI2::InitSoundKitGroups() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool SI2::IsPlaying(SOUNDKITOBJECT* object) {
|
bool SI2::IsPlaying(SOUNDKITOBJECT* object) {
|
||||||
return object->m_sound->IsPlaying();
|
return object->m_sound.IsPlaying();
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t SI2::PlaySoundKit(const char *name, int a2, SOUNDKITOBJECT* object, SoundKitProperties* properties) {
|
int32_t SI2::PlaySoundKit(const char *name, int a2, SOUNDKITOBJECT* object, SoundKitProperties* properties) {
|
||||||
@ -340,7 +340,7 @@ int32_t SI2::PlaySoundKit(int32_t id, int32_t a2, SOUNDKITOBJECT* object, SoundK
|
|||||||
SESound* sound;
|
SESound* sound;
|
||||||
|
|
||||||
if (object) {
|
if (object) {
|
||||||
sound = object->m_sound;
|
sound = &object->m_sound;
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -7,7 +7,7 @@ class SOUNDKITOBJECT {
|
|||||||
public:
|
public:
|
||||||
// Member variables
|
// Member variables
|
||||||
// TODO
|
// TODO
|
||||||
SESound* m_sound;
|
SESound m_sound;
|
||||||
// TODO
|
// TODO
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user