#ifdef out the GAUSS beam to VALVE so other mods compile better.

This commit is contained in:
Marco Cawthorne 2021-08-29 18:28:49 +02:00
parent 4635b900c6
commit 280484600d

View file

@ -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);