spawning in bot modes fixed, damageblend lock fixed, reloading locks weapon switch

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1507 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-12-27 15:14:53 +00:00
parent c85954a26f
commit da4a5ddfe6
6 changed files with 15 additions and 8 deletions
+3 -2
View File
@@ -333,10 +333,10 @@ void findplayerstart(playerent *d)
void spawnplayer(playerent *d)
{
findplayerstart(d);
d->respawn();
d->spawnstate(gamemode);
d->state = d==player1 && editmode ? CS_EDITING : CS_ALIVE;
findplayerstart(d);
}
void respawnself()
@@ -344,9 +344,10 @@ void respawnself()
if(m_mp(gamemode)) addmsg(SV_TRYSPAWN, "r");
else
{
showscores(false);
setscope(false);
spawnplayer(player1);
player1->lifesequence++;
showscores(false);
}
}