Fix unused but set variable compilation error under linux.
Former-commit-id: 1aa4373e3dce07d1a8331a74a557f56eca574520
This commit is contained in:
@ -20,7 +20,7 @@ void Client_ResetHUD(void* mValue){
|
||||
void Client_DeathMsg(void *mValue)
|
||||
{
|
||||
static int killer_id;
|
||||
static int victim_id;
|
||||
//static int victim_id;
|
||||
static int is_headshot;
|
||||
const char *name;
|
||||
|
||||
@ -31,11 +31,11 @@ void Client_DeathMsg(void *mValue)
|
||||
killer_id = *(int *)mValue;
|
||||
break;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
victim_id = *(int *)mValue;
|
||||
break;
|
||||
}
|
||||
//case 1:
|
||||
// {
|
||||
// victim_id = *(int *)mValue;
|
||||
// break;
|
||||
// }
|
||||
case 2:
|
||||
{
|
||||
is_headshot = *(int *)mValue;
|
||||
|
Reference in New Issue
Block a user