no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@761 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-12-03 19:56:24 +00:00
parent ac9d1148c7
commit 7decc11a6b
8 changed files with 59 additions and 15 deletions
+3 -4
View File
@@ -23,16 +23,15 @@ extern void spawnstate(playerent *d);
void CACBot::Spawn()
{
// Init all bot variabeles
spawnplayer(m_pMyEnt);
// Init all bot variabeles
m_pMyEnt->primary = m_pMyEnt->nextprimary = 2 + rnd(4);
m_pMyEnt->targetyaw = m_pMyEnt->targetpitch = 0.0f;
equip(this->m_pMyEnt);
m_pMyEnt->armour = 0;
m_pMyEnt->pBot = this;
SelectGun(m_pMyEnt->primary);
spawnplayer(m_pMyEnt);
m_eCurrentBotState = STATE_NORMAL;
m_iShootDelay = m_iChangeWeaponDelay = 0;