always check for last time kill

This commit is contained in:
Dominik Geyer 2008-10-05 09:28:23 +00:00
parent fda4fd3320
commit 42f661ae70

View file

@ -312,8 +312,7 @@ void mods_message(int msgtype, int client_id)
}
else if (msgtype == NETMSGTYPE_CL_KILL)
{
//PLAYER *pplayer = get_player(client_id);
if(config.sv_spamprotection && p->last_kill+time_freq()*3 > time_get())
if(p->last_kill+time_freq()*3 > time_get())
return;
p->last_kill = time_get();