docs
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@803 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -24,7 +24,7 @@ extern void spawnstate(playerent *d);
|
||||
void CACBot::Spawn()
|
||||
{
|
||||
// Init all bot variabeles
|
||||
m_pMyEnt->nextprimary = GUN_SUBGUN;//m_pMyEnt->nextprimary = 2 + rnd(4);
|
||||
m_pMyEnt->nextprimary = 2 + rnd(4);
|
||||
m_pMyEnt->targetyaw = m_pMyEnt->targetpitch = 0.0f;
|
||||
equip(m_pMyEnt);
|
||||
m_pMyEnt->armour = 0;
|
||||
|
||||
@@ -585,7 +585,7 @@ void startmap(char *name) // called just after a map load
|
||||
spawnplayer(player1);
|
||||
player1->frags = 0;
|
||||
player1->flagscore = 0;
|
||||
if(m_teammode) newteam(player1->team); // ensure valid team
|
||||
//if(m_teammode) newteam(player1->team); // ensure valid team // TESTME
|
||||
loopv(players) if(players[i]) players[i]->frags = players[i]->flagscore = 0;
|
||||
s_strcpy(clientmap, name);
|
||||
if(editmode) toggleedit();
|
||||
|
||||
@@ -500,7 +500,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
case SV_FORCETEAM:
|
||||
{
|
||||
changeteam(getint(p));
|
||||
|
||||
spawnplayer(player1);
|
||||
break;
|
||||
};
|
||||
|
||||
@@ -509,7 +509,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
conoutf("autoteam is %s", (autoteambalance = getint(p) == 1) ? "enabled" : "disabled");
|
||||
break;
|
||||
};
|
||||
|
||||
|
||||
/* demo recording compat */
|
||||
case SV_PING:
|
||||
getint(p);
|
||||
|
||||
Binary file not shown.
@@ -106,6 +106,7 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
EmbedManifest="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
|
||||
Reference in New Issue
Block a user