diff --git a/src/client/player.qc b/src/client/player.qc index b4d83ce..7b6cfaf 100644 --- a/src/client/player.qc +++ b/src/client/player.qc @@ -169,6 +169,7 @@ Player_PreDraw(base_player pp, int thirdperson) /* Handle the flashlights... */ Player_Flashlight(pl); +#ifdef VALVE if (thirdperson && pl.gflags & GF_EGONBEAM) { vector src; vector endpos; @@ -179,6 +180,7 @@ Player_PreDraw(base_player pp, int thirdperson) traceline(src, endpos, MOVE_NORMAL, pl); w_egon_beamfx(gettaginfo(pl.p_model, 10), trace_endpos, pl); } +#endif pl.Physics_SetViewParms(); Animation_PlayerUpdate((player)pl);