testing: combat pistol (with burst!)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5307 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-07-08 19:57:31 +00:00
parent 546b943e49
commit 42e6a39207
13 changed files with 127 additions and 28 deletions
+3
View File
@@ -253,6 +253,7 @@ void deathstate(playerent *pl)
{
if(showscoresondeath) showscores(true);
setscope(false);
setburst(false);
if(editmode) toggleedit(true);
damageblend(-1);
if(pl->team == TEAM_SPECT) spectate(SM_FLY);
@@ -273,6 +274,7 @@ void spawnstate(playerent *d) // reset player state not persistent
if(d==player1)
{
setscope(false);
setburst(false);
}
}
@@ -570,6 +572,7 @@ void respawnself()
{
showscores(false);
setscope(false);
setburst(false);
lasthit = 0;
spawnplayer(player1);
player1->lifesequence++;