mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-11 06:32:10 +08:00
ref: fix beams end point
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user