From aede0859509b743e8a76c2ad055ae94d0545af88 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 4 Oct 2009 22:40:52 +0000 Subject: * Reduce generic1 to 10 bits * Remove buildable health scaling/masking stuff; 10 bits is plenty now * Potentially fix bug where many PVS entering buildables would inappropriately make damaged sounds --- src/qcommon/msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qcommon/msg.c') diff --git a/src/qcommon/msg.c b/src/qcommon/msg.c index 34434d15..3d3355ec 100644 --- a/src/qcommon/msg.c +++ b/src/qcommon/msg.c @@ -823,7 +823,7 @@ netField_t entityStateFields[] = { NETF(modelindex), 8 }, { NETF(otherEntityNum2), GENTITYNUM_BITS }, { NETF(loopSound), 8 }, -{ NETF(generic1), 16 }, +{ NETF(generic1), 10 }, { NETF(origin2[2]), 0 }, { NETF(origin2[0]), 0 }, { NETF(origin2[1]), 0 }, @@ -1140,7 +1140,7 @@ netField_t playerStateFields[] = { PSF(damageCount), 8 }, { PSF(ammo), 12 }, { PSF(clips), 4 }, -{ PSF(generic1), 16 }, +{ PSF(generic1), 10 }, { PSF(pm_type), 8 }, { PSF(delta_angles[0]), 16 }, { PSF(delta_angles[2]), 16 }, -- cgit