Permalink
Browse files

mint-arena: Fix view weapon lighting

I made the view weapon be a separate scene with it's own FOV with
RDF_NOWORLDMODEL so need to add RF_LIGHTING_GRID (which is not
available in vanilla Q3) so it uses the world lighting again.
  • Loading branch information...
zturtleman committed Feb 17, 2017
1 parent a6842e7 commit 631f796591c3565607a861ddb99c40686d3812b1
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/cgame/cg_weapons.c
View
@@ -1443,7 +1443,7 @@ void CG_DrawViewWeapon( playerState_t *ps ) {
}
hand.hModel = weapon->handsModel;
hand.renderfx = RF_DEPTHHACK | RF_NO_MIRROR;
hand.renderfx = RF_DEPTHHACK | RF_NO_MIRROR | RF_LIGHTING_GRID;
// add everything onto the hand
CG_AddPlayerWeapon( &hand, ps, &cg.cur_lc->predictedPlayerEntity, ps->persistant[PERS_TEAM] );

0 comments on commit 631f796

Please sign in to comment.