summaryrefslogtreecommitdiff
path: root/src/audio/DMAudio.h
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-08-27 22:46:41 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-08-27 23:45:27 +0200
commit5a36d466929ac9ba5612d577904773e3bd58bfe5 (patch)
treef775059bd6cd968b096f989243e496bea776ae4f /src/audio/DMAudio.h
parent01ac2929cd723b579454788ffbe9579d1863d240 (diff)
Audio fixes
Diffstat (limited to 'src/audio/DMAudio.h')
-rw-r--r--src/audio/DMAudio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h
index 0932e581..42dd9ef4 100644
--- a/src/audio/DMAudio.h
+++ b/src/audio/DMAudio.h
@@ -174,6 +174,9 @@ enum eSound : int16
SOUND_TOTAL_PED_SOUNDS = 167,
};
+#define AEHANDLE_IS_FAILED(h) ((h)<0)
+#define AEHANDLE_IS_OK(h) ((h)>=0)
+
class cAudioScriptObject;
class CEntity;
enum eCrimeType;