#ifdef out the GAUSS beam to VALVE so other mods compile better.
This commit is contained in:
parent
4635b900c6
commit
280484600d
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue