summaryrefslogtreecommitdiff
path: root/src/cgame/cg_ents.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_ents.c')
-rw-r--r--src/cgame/cg_ents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c
index 2d2e808..17f1a7d 100644
--- a/src/cgame/cg_ents.c
+++ b/src/cgame/cg_ents.c
@@ -581,7 +581,7 @@ static void CG_Portal( centity_t *cent )
CrossProduct( ent.axis[ 0 ], ent.axis[ 1 ], ent.axis[ 2 ] );
ent.reType = RT_PORTALSURFACE;
- ent.oldframe = s1->powerups;
+ ent.oldframe = s1->misc;
ent.frame = s1->frame; // rotation speed
ent.skinNum = s1->clientNum / 256.0 * 360; // roll offset
@@ -799,7 +799,7 @@ static void CG_Lev2ZapChain( centity_t *cent )
if( es->time <= 0 )
continue;
- source = &cg_entities[ es->powerups ];
+ source = &cg_entities[ es->misc ];
target = &cg_entities[ es->time ];
break;