summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-15 08:27:58 +0200
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:21:02 +0200
commit8f6cc0930258d39570676d349db062b0c54ba1ad (patch)
treec5fa9e0bf41b1eb7b28978868891a4f68a2c269f /src/game/g_weapon.c
parentebd43d72d1af22fcde4b9857fb226cefab9fcdbf (diff)
multi-protocol: rename powerups to misc in the playerState_t and entityState_t structs
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index e2d0183..ea4e290 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -1152,7 +1152,7 @@ static void G_UpdateZapEffect( zap_t *zap )
effect->s.eType = ET_LEV2_ZAP_CHAIN;
effect->classname = "lev2zapchain";
G_SetOrigin( effect, zap->creator->s.origin );
- effect->s.powerups = zap->creator->s.number;
+ effect->s.misc = zap->creator->s.number;
effect->s.time = effect->s.time2 = effect->s.constantLight = -1;