From 8f6cc0930258d39570676d349db062b0c54ba1ad Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sat, 15 Apr 2017 08:27:58 +0200 Subject: multi-protocol: rename powerups to misc in the playerState_t and entityState_t structs --- src/game/g_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/g_client.c') diff --git a/src/game/g_client.c b/src/game/g_client.c index ef35f16..55b1ad7 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -689,7 +689,7 @@ void BodySink( gentity_t *ent ) ent->active = qtrue; //sinking bodies can't be infested - ent->killedBy = ent->s.powerups = MAX_CLIENTS; + ent->killedBy = ent->s.misc = MAX_CLIENTS; ent->timestamp = level.time; } @@ -768,7 +768,7 @@ void SpawnCorpse( gentity_t *ent ) else body->classname = "alienCorpse"; - body->s.powerups = MAX_CLIENTS; + body->s.misc = MAX_CLIENTS; body->think = BodySink; body->nextthink = level.time + 20000; -- cgit