no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1089 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-06-02 17:33:50 +00:00
parent 7e687112b6
commit 54db4fac29
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -373,6 +373,7 @@ void dodamage(int damage, int actor, playerent *act, bool gib, playerent *pl)
damageblend(damage);
demoblend(damage);
}
pl->lastpain = lastmillis;
int ad = damage*30/100; // let armour absorb when possible
if(ad>pl->armour) ad = pl->armour;
pl->armour -= ad;