This commit is contained in:
Charles 2001-05-17 19:28:08 +00:00
parent 9d668cb68e
commit 4d00a63deb
14 changed files with 71 additions and 322 deletions

View file

@ -193,6 +193,7 @@ void CPlayerModeNet::think()
if(((CNpcEnemy*)thing)->canBeCaughtByNet())
{
((CNpcEnemy*)thing)->caughtWithNet();
m_RGB = ((CNpcEnemy*)thing)->getRGB();
m_netState=NET_STATE__JUST_CAUGHT_SOMETHING;
thing=NULL;
if(m_player->getJellyFishAmmo()==0)
@ -238,6 +239,7 @@ void CPlayerModeNet::think()
5*60);
projectile->setLayerCollision( m_player->getLayerCollision() );
projectile->updateCollisionArea();
projectile->setRGB( m_RGB );
m_netState=NET_STATE__JUST_LAUNCHED_SOMETHING;
m_player->useOneJellyFishAmmo();

View file

@ -60,6 +60,7 @@ private:
int m_netFrame;
NetState m_netState;
int m_netSin;
CVECTOR m_RGB;
};