This commit is contained in:
parent
8309175a0c
commit
4cc282d31c
@ -1096,7 +1096,7 @@ CNpcEnemy::NPC_DATA CNpcEnemy::m_data[NPC_UNIT_TYPE_MAX] =
|
||||
NPC_SHOT_GENERIC,
|
||||
0,
|
||||
FRM_JELLYFISH1_SWIM1,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
|
@ -484,9 +484,9 @@ void CPlayerProjectile::think(int _frames)
|
||||
|
||||
m_frame += _frames;
|
||||
|
||||
if ( m_frame > 5 )
|
||||
if ( m_frame > ( FRM_JELLYFISH1_SWIM6 - FRM_JELLYFISH1_SWIM1 ) )
|
||||
{
|
||||
m_frame -= 5;
|
||||
m_frame = 0;
|
||||
}
|
||||
|
||||
switch( m_movementType )
|
||||
@ -548,7 +548,7 @@ void CPlayerProjectile::render()
|
||||
return;
|
||||
}
|
||||
|
||||
SprFrame = m_spriteBank->printFT4(m_frame,x,y,m_reversed,0,10);
|
||||
SprFrame = m_spriteBank->printFT4(FRM_JELLYFISH1_SWIM1 + m_frame,x,y,m_reversed,0,10);
|
||||
setRGB0( SprFrame, 255, 128, 255 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user