removed <xmod> compatibility from csstats as requested by SniperBeamer

This commit is contained in:
Lukasz Wlasinksi
2004-08-05 11:56:33 +00:00
parent d692d8a4fb
commit 3bedaa95e4
9 changed files with 7 additions and 364 deletions

View File

@ -3,7 +3,7 @@
#include "amxxmodule.h"
#include "rank.h"
weaponsVault weaponData[MAX_WEAPONS+MAX_CWEAPONS];
weaponsVault weaponData[MAX_WEAPONS];
int damage;
int TA;
@ -46,7 +46,6 @@ void Client_WeaponList(void* mValue){
weaponData[iId].name = wpnPrefix + 7;
if ( strcmp( weaponData[iId].name, "hegrenade" ) == 0 )
weaponData[iId].name += 2;
weaponData[iId].logname = weaponData[iId].name;
}
}
}
@ -91,12 +90,9 @@ void Client_Damage_End(void* mValue){
TA = 0;
if ( (mPlayer->teamId == pAttacker->teamId) && (mPlayer != pAttacker) )
TA = 1;
g_damage_info.exec( pAttacker->index , mPlayer->index , damage, weapon, aim, TA );
if ( !mPlayer->IsAlive() ){
pAttacker->saveKill(mPlayer,weapon,( aim == 1 ) ? 1:0 ,TA);
g_death_info.exec( pAttacker->index, mPlayer->index, weapon, aim, TA );
}
}
@ -135,7 +131,6 @@ void Client_AmmoX(void* mValue){
}
}
void Client_AmmoPickup(void* mValue){
static int iSlot;
switch (mState++){