Bug fix. You can use listen 1 again now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@474 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-11-19 17:41:51 +00:00
parent 31cf61938f
commit 649e8c5c27

View file

@ -1019,7 +1019,7 @@ void SV_WriteClientdataToMessage (client_t *client, sizebuf_t *msg)
MSG_WriteByte (msg, ent->v.armorvalue); MSG_WriteByte (msg, ent->v.armorvalue);
} }
if (bits & SU_WEAPON) if (bits & SU_WEAPON)
MSG_WriteByte (msg, SV_ModelIndex(ent->v.weaponmodel)); MSG_WriteByte (msg, SV_ModelIndex(ent->v.weaponmodel + svprogfuncs->stringtable));
MSG_WriteShort (msg, ent->v.health); MSG_WriteShort (msg, ent->v.health);
MSG_WriteByte (msg, ent->v.currentammo); MSG_WriteByte (msg, ent->v.currentammo);