1
0
forked from 0ad/0ad

removed improper comparison warning

This was SVN commit r12899.
This commit is contained in:
stwf 2012-11-28 04:31:52 +00:00
parent ad13ded9a5
commit 3e531b7571
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ float CSoundGroup::RadiansOffCenter(const CVector3D& position, bool& onScreen, f
return answer;
}
void CSoundGroup::UploadPropertiesAndPlay(int theIndex, const CVector3D& position)
void CSoundGroup::UploadPropertiesAndPlay(unsigned int theIndex, const CVector3D& position)
{
#if CONFIG2_AUDIO
if ( g_SoundManager )

View File

@ -105,7 +105,7 @@ public:
private:
void SetGain(float gain);
void UploadPropertiesAndPlay(int theIndex, const CVector3D& position);
void UploadPropertiesAndPlay(unsigned int theIndex, const CVector3D& position);
void SetDefaultValues();
size_t m_index; // index of the next sound to play