From 9439ae4c9e0d2258c77d9f1f661bbe030ed15c53 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sun, 13 Jul 2014 21:04:55 +0200 Subject: use entityState_t::misc instead of entityState_t::generic1 in some rather important cases involving 1.1 clients --- src/cgame/cg_ents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cgame/cg_ents.c') diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c index fe755d4f..39147153 100644 --- a/src/cgame/cg_ents.c +++ b/src/cgame/cg_ents.c @@ -1019,7 +1019,7 @@ static void CG_CEntityPVSEnter( centity_t *cent ) break; case ET_BUILDABLE: - cent->lastBuildableHealth = es->generic1; + cent->lastBuildableHealth = es->misc; break; } -- cgit