summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-04 22:40:52 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:39 +0000
commitaede0859509b743e8a76c2ad055ae94d0545af88 (patch)
tree16942dbb3df86891aad9b89e88a7fd427f607680 /src/qcommon
parentea0ff0071ed313c479693f1d2e1b9a2da167a891 (diff)
* 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
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/msg.c4
1 files changed, 2 insertions, 2 deletions
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 },