This commit is contained in:
Charles 2001-04-30 18:55:38 +00:00
parent cfb4cb7ea2
commit 6961688ccd
7 changed files with 121 additions and 114 deletions

View file

@ -227,6 +227,11 @@ void CProjectile::setLifeTime( PROJECTILE_LIFETIME_TYPE lifeType )
void CProjectile::think(int _frames)
{
if ( _frames > 2 )
{
_frames = 2;
}
CEnemyProjectileThing::think( _frames );
switch( m_movementType )
@ -469,6 +474,11 @@ void CPlayerProjectile::setLifeTime( PLAYER_PROJECTILE_LIFETIME_TYPE lifeType )
void CPlayerProjectile::think(int _frames)
{
if ( _frames > 2 )
{
_frames = 2;
}
CPlayerProjectileThing::think( _frames );
m_frame += _frames;