blocking bad maps in client side, and beginning the work with the medal system

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5031 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-05-24 17:24:33 +00:00
parent 02da74afdf
commit bc01595024
9 changed files with 129 additions and 26 deletions
+1
View File
@@ -1314,6 +1314,7 @@ void serverdamage(client *target, client *actor, int damage, int gun, bool gib,
if(!v.iszero()) v.normalize();
sendf(target->clientnum, 1, "ri6", SV_HITPUSH, gun, damage,
int(v.x*DNF), int(v.y*DNF), int(v.z*DNF));
combopoints (target, actor, damage, gun);
}
if(ts.health<=0)
{