Restored Ceebot-Teen toy sound
parent
d11ebc891c
commit
0aa97fe074
2
data
2
data
|
@ -1 +1 @@
|
||||||
Subproject commit bbfc7d0ea4e90b9d9694a3812874afeabc7bbbfb
|
Subproject commit 4ecbafd960f3718dc166cbc1011f42deb51e11dd
|
|
@ -1903,7 +1903,7 @@ void CPhysics::SoundMotorFull(float rTime, ObjectType type)
|
||||||
|
|
||||||
if ( m_object->GetToy() )
|
if ( m_object->GetToy() )
|
||||||
{
|
{
|
||||||
sound = SOUND_NONE; //SOUND_MOTORd;
|
sound = SOUND_MOTORd;
|
||||||
amplitude = 1.0f;
|
amplitude = 1.0f;
|
||||||
time = 0.1f;
|
time = 0.1f;
|
||||||
}
|
}
|
||||||
|
@ -2002,7 +2002,7 @@ void CPhysics::SoundMotorSlow(float rTime, ObjectType type)
|
||||||
|
|
||||||
if ( m_object->GetToy() )
|
if ( m_object->GetToy() )
|
||||||
{
|
{
|
||||||
sound = SOUND_NONE; // SOUND_MOTORd;
|
sound = SOUND_MOTORd;
|
||||||
amplitude = 0.0f;
|
amplitude = 0.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,7 @@ enum SoundType
|
||||||
SOUND_FIREp = 78, /*!< shooting with phazer */
|
SOUND_FIREp = 78, /*!< shooting with phazer */
|
||||||
SOUND_EXPLOg1 = 79, /*!< impact gun 1 */
|
SOUND_EXPLOg1 = 79, /*!< impact gun 1 */
|
||||||
SOUND_EXPLOg2 = 80, /*!< impact gun 2 */
|
SOUND_EXPLOg2 = 80, /*!< impact gun 2 */
|
||||||
// SOUND_MOTORd = 81, /*!< engine friction */
|
SOUND_MOTORd = 81, /*!< engine friction */
|
||||||
SOUND_MAX /** number of items in enum */
|
SOUND_MAX /** number of items in enum */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue