diff options
Diffstat (limited to 'src/audio/DMAudio.h')
-rw-r--r-- | src/audio/DMAudio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h index fe120576..a6910b58 100644 --- a/src/audio/DMAudio.h +++ b/src/audio/DMAudio.h @@ -1,5 +1,6 @@ #pragma once +#include "audio_enums.h" #include "Wanted.h" enum eSound : int16 @@ -180,7 +181,6 @@ enum eSound : int16 class cAudioScriptObject; class CEntity; enum eCrimeType; -enum eAudioType; class cDMAudio { @@ -192,7 +192,7 @@ public: void Terminate(void); void Service(void); - int32 CreateEntity(eAudioType type, void *UID); + int32 CreateEntity(int32 type, void *UID); void DestroyEntity(int32 audioEntity); void SetEntityStatus(int32 audioEntity, uint8 status); void PlayOneShot(int32 audioEntity, uint16 oneShot, float volume); |