bug fix (respawn issue), smarter mfilter, other stuff

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5059 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-05-26 20:06:38 +00:00
parent 1b8fe75e56
commit 72d710081a
10 changed files with 101 additions and 85 deletions
+3 -3
View File
@@ -564,13 +564,13 @@ void spawnplayer(playerent *d)
void respawnself()
{
if(m_mp(gamemode)) addmsg(SV_TRYSPAWN, "r");
if( m_mp(gamemode) ) addmsg(SV_TRYSPAWN, "r");
else
{
showscores(false);
setscope(false);
lasthit = 0;
spawnplayer(player1);
lasthit = 0;
spawnplayer(player1);
player1->lifesequence++;
player1->weaponswitch(player1->primweap);
player1->weaponchanging -= weapon::weaponchangetime/2;