summaryrefslogtreecommitdiff
path: root/src/cgame/cg_animmapobj.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/cgame/cg_animmapobj.c
parentebd43d72d1af22fcde4b9857fb226cefab9fcdbf (diff)
multi-protocol: rename powerups to misc in the playerState_t and entityState_t structs
Diffstat (limited to 'src/cgame/cg_animmapobj.c')
-rw-r--r--src/cgame/cg_animmapobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_animmapobj.c b/src/cgame/cg_animmapobj.c
index 2e80b7e..1225314 100644
--- a/src/cgame/cg_animmapobj.c
+++ b/src/cgame/cg_animmapobj.c
@@ -75,7 +75,7 @@ void CG_ModelDoor( centity_t *cent )
ent.nonNormalizedAxes = qtrue;
//setup animation
- anim.firstFrame = es->powerups;
+ anim.firstFrame = es->misc;
anim.numFrames = es->weapon;
anim.reversed = !es->legsAnim;
anim.flipflop = qfalse;
@@ -168,7 +168,7 @@ void CG_AnimMapObj( centity_t *cent )
}
//setup animation
- anim.firstFrame = es->powerups;
+ anim.firstFrame = es->misc;
anim.numFrames = es->weapon;
anim.reversed = qfalse;
anim.flipflop = qfalse;