Fix return type

This commit is contained in:
Sergeanur 2021-05-22 12:16:10 +03:00
parent 786e101acf
commit 319bf9d8d2
2 changed files with 3 additions and 3 deletions

View file

@ -409,13 +409,13 @@ cAudioManager::CheckForAnAudioFileOnCD() const
return SampleManager.CheckForAnAudioFileOnCD(); return SampleManager.CheckForAnAudioFileOnCD();
} }
uint8 char
cAudioManager::GetCDAudioDriveLetter() const cAudioManager::GetCDAudioDriveLetter() const
{ {
if (m_bIsInitialised) if (m_bIsInitialised)
return SampleManager.GetCDAudioDriveLetter(); return SampleManager.GetCDAudioDriveLetter();
return 0; return '\0';
} }
bool8 bool8

View file

@ -338,7 +338,7 @@ public:
void GenerateIntegerRandomNumberTable(); void GenerateIntegerRandomNumberTable();
char *Get3DProviderName(uint8 id) const; char *Get3DProviderName(uint8 id) const;
uint8 GetCDAudioDriveLetter() const; char GetCDAudioDriveLetter() const;
int8 GetCurrent3DProviderIndex() const; int8 GetCurrent3DProviderIndex() const;
float GetCollisionLoopingRatio(uint32 a, uint32 b, float c) const; // not used float GetCollisionLoopingRatio(uint32 a, uint32 b, float c) const; // not used
float GetCollisionOneShotRatio(int32 a, float b) const; float GetCollisionOneShotRatio(int32 a, float b) const;