From 7e7a2b74cdf6433d72d66e8f76fc0e9bf19a25b7 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Fri, 25 Jun 2021 01:16:03 +0300 Subject: Fixes --- src/audio/AudioManager.h | 13 ------------- src/entities/Entity.cpp | 1 - 2 files changed, 14 deletions(-) diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h index 5c142f5d..d3f3fb81 100644 --- a/src/audio/AudioManager.h +++ b/src/audio/AudioManager.h @@ -569,19 +569,6 @@ public: //#if defined(AUDIO_MSS) && !defined(PS2_AUDIO_CHANNELS) //static_assert(sizeof(cAudioManager) == 0x5558, "cAudioManager: error"); //#endif - What were they thinking? -*/ -#ifndef GTA_PS2 -#define RESET_LOOP_OFFSETS \ - m_sQueueSample.m_nLoopStart = 0; \ - m_sQueueSample.m_nLoopEnd = -1; -#define SET_LOOP_OFFSETS(sample) \ - m_sQueueSample.m_nLoopStart = SampleManager.GetSampleLoopStartOffset(sample); \ - m_sQueueSample.m_nLoopEnd = SampleManager.GetSampleLoopEndOffset(sample); -#else -#define RESET_LOOP_OFFSETS -#define SET_LOOP_OFFSETS(sample) -#endif extern cAudioManager AudioManager; diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp index 5c059598..d106898d 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -1,6 +1,5 @@ #include "common.h" -#include "VuVector.h" #include "General.h" #include "RwHelper.h" #include "ModelIndices.h" -- cgit v1.2.3