This commit is contained in:
parent
dcbf6b1144
commit
46054ce151
5 changed files with 14 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -123,6 +123,13 @@ void CNpcRisingWeightHazard::processMovement( int _frames )
|
||||||
{
|
{
|
||||||
m_extension = m_maxExtension;
|
m_extension = m_maxExtension;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( m_soundId == NOT_PLAYING )
|
||||||
|
{
|
||||||
|
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_PULLEY, true, true );
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -132,6 +139,13 @@ void CNpcRisingWeightHazard::processMovement( int _frames )
|
||||||
{
|
{
|
||||||
m_extension = 0;
|
m_extension = 0;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( m_soundId == NOT_PLAYING )
|
||||||
|
{
|
||||||
|
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_PULLEY, true, true );
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Pos.vy = m_base.vy - ( m_extension >> 8 );
|
Pos.vy = m_base.vy - ( m_extension >> 8 );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue