Removed hipnotic/rogue special cases
This commit is contained in:
parent
c46162e1c1
commit
a8202e52a3
1 changed files with 1 additions and 16 deletions
17
sv_main.c
17
sv_main.c
|
@ -765,22 +765,7 @@ void SV_WriteClientdataToMessage (edict_t *ent, sizebuf_t *msg)
|
||||||
MSG_WriteByte (msg, ent->v.ammo_nails);
|
MSG_WriteByte (msg, ent->v.ammo_nails);
|
||||||
MSG_WriteByte (msg, ent->v.ammo_rockets);
|
MSG_WriteByte (msg, ent->v.ammo_rockets);
|
||||||
MSG_WriteByte (msg, ent->v.ammo_cells);
|
MSG_WriteByte (msg, ent->v.ammo_cells);
|
||||||
|
MSG_WriteByte (msg, ent->v.weapon);
|
||||||
if (standard_quake)
|
|
||||||
{
|
|
||||||
MSG_WriteByte (msg, ent->v.weapon);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
for(i=0;i<32;i++)
|
|
||||||
{
|
|
||||||
if ( ((int)ent->v.weapon) & (1<<i) )
|
|
||||||
{
|
|
||||||
MSG_WriteByte (msg, i);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue