From: havoc Date: Thu, 14 Jun 2007 07:16:12 +0000 (+0000) Subject: fixed serverside bug with active weapon stat in old protocols X-Git-Tag: xonotic-v0.1.0preview~3037 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c55a6a661a1fe1ff270f9c9f8449417f8ae8eec9;p=xonotic%2Fdarkplaces.git fixed serverside bug with active weapon stat in old protocols git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7424 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index facd0dab..45a8c5f7 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1490,12 +1490,12 @@ void SV_WriteClientdataToMessage (client_t *client, prvm_edict_t *ent, sizebuf_t if (gamemode == GAME_HIPNOTIC || gamemode == GAME_ROGUE || gamemode == GAME_NEXUIZ) { for (i = 0;i < 32;i++) - if (stats[STAT_WEAPON] & (1<