This commit is contained in:
Charles 2001-06-07 14:39:53 +00:00
parent fa307b277c
commit 860a752411
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
# Comment
sidesnap
snapup

View File

@ -93,7 +93,7 @@ void CNpcJumpingClamEnemy::postInit()
{
CNpcClamEnemy::postInit();
m_drawRotation = m_heading + 1024;
m_drawRotation = ( m_heading + 1024 ) & 4095;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@ -161,7 +161,7 @@ void CNpcJumpingClamEnemy::processClose( int _frames )
if ( !m_animPlaying )
{
m_animPlaying = true;
m_animNo = 0;//ANIM_CLAM_SNAPUP;
m_animNo = ANIM_CLAM_SNAPUP;
m_frame = 0;
}
}

View File

@ -297,7 +297,7 @@ CNpcEnemy::NPC_DATA CNpcEnemy::m_data[NPC_UNIT_TYPE_MAX] =
{ // NPC_CLAM_JUMP
ACTORS_CLAM_SBK,
0,//ANIM_CLAM_SNAPUP,
ANIM_CLAM_SNAPUP,
NPC_SENSOR_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_CLOSE_NONE,