reintroduced old&nasty things: var damagescreen, disabled by default

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3456 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-11-08 20:46:11 +00:00
parent 0034503276
commit c86bec4250
4 changed files with 27 additions and 4 deletions
+3 -1
View File
@@ -156,11 +156,12 @@ void deathstate(playerent *pl)
pl->attacking = false;
pl->weaponsel->onownerdies();
if(pl == player1)
if(pl==player1)
{
if(showscoresondeath) showscores(true);
setscope(false);
if(editmode) toggleedit(true);
damageblend(-1);
}
else pl->resetinterp();
}
@@ -518,6 +519,7 @@ void dodamage(int damage, playerent *pl, playerent *actor, bool gib, bool local)
if(pl==player1)
{
updatedmgindicator(actor->o);
damageblend(damage);
pl->damageroll(damage);
}
damageeffect(damage, pl);