mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-25 19:30:08 +01:00
ref: fix beams end point
This commit is contained in:
parent
a894ca60c6
commit
76d0608ee1
@ -1196,7 +1196,7 @@ void R_BeamDrawCustomEntity( cl_entity_t *ent )
|
||||
g = ent->curstate.rendercolor.g / 255.0f;
|
||||
b = ent->curstate.rendercolor.b / 255.0f;
|
||||
|
||||
R_BeamSetup( &beam, ent->origin, ent->angles, ent->curstate.modelindex, 0, ent->curstate.scale, amp, blend, ent->curstate.animtime );
|
||||
R_BeamSetup( &beam, ent->origin, ent->curstate.angles, ent->curstate.modelindex, 0, ent->curstate.scale, amp, blend, ent->curstate.animtime );
|
||||
R_BeamSetAttributes( &beam, r, g, b, ent->curstate.framerate, ent->curstate.frame );
|
||||
beam.pFollowModel = NULL;
|
||||
|
||||
|
@ -1209,7 +1209,7 @@ void R_BeamDrawCustomEntity( cl_entity_t *ent )
|
||||
g = ent->curstate.rendercolor.g / 255.0f;
|
||||
b = ent->curstate.rendercolor.b / 255.0f;
|
||||
|
||||
R_BeamSetup( &beam, ent->origin, ent->angles, ent->curstate.modelindex, 0, ent->curstate.scale, amp, blend, ent->curstate.animtime );
|
||||
R_BeamSetup( &beam, ent->origin, ent->curstate.angles, ent->curstate.modelindex, 0, ent->curstate.scale, amp, blend, ent->curstate.animtime );
|
||||
R_BeamSetAttributes( &beam, r, g, b, ent->curstate.framerate, ent->curstate.frame );
|
||||
beam.pFollowModel = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user