diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-08-24 21:36:03 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-08-24 21:36:03 +0200 |
commit | cb813bd1abdf7758a7893c354de6d9f81291c6cf (patch) | |
tree | 7639d3175c889f0e2469308d62e3d25ae6f32b4b /src/audio/DMAudio.cpp | |
parent | Revert "remove CFO" (diff) | |
parent | small fix (diff) | |
download | re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.tar re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.tar.gz re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.tar.bz2 re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.tar.lz re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.tar.xz re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.tar.zst re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/DMAudio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp index dd55f76d..9d278046 100644 --- a/src/audio/DMAudio.cpp +++ b/src/audio/DMAudio.cpp @@ -203,7 +203,7 @@ cDMAudio::ReportCrime(eCrimeType crime, const CVector &pos) int32 cDMAudio::CreateLoopingScriptObject(cAudioScriptObject *scriptObject) { - int32 audioEntity = AudioManager.CreateEntity(AUDIOTYPE_SCRIPTOBJECT, (CPhysical *)scriptObject); + int32 audioEntity = AudioManager.CreateEntity(AUDIOTYPE_SCRIPTOBJECT, scriptObject); if ( AEHANDLE_IS_OK(audioEntity) ) AudioManager.SetEntityStatus(audioEntity, true); @@ -220,7 +220,7 @@ cDMAudio::DestroyLoopingScriptObject(int32 audioEntity) void cDMAudio::CreateOneShotScriptObject(cAudioScriptObject *scriptObject) { - int32 audioEntity = AudioManager.CreateEntity(AUDIOTYPE_SCRIPTOBJECT, (CPhysical *)scriptObject); + int32 audioEntity = AudioManager.CreateEntity(AUDIOTYPE_SCRIPTOBJECT, scriptObject); if ( AEHANDLE_IS_OK(audioEntity) ) { |