Skip to content

Commit

Permalink
fix grid snap visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
rtldg committed Aug 8, 2021
1 parent c441fa4 commit eab3103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/shavit-zones.sp
Original file line number Diff line number Diff line change
Expand Up @@ -3112,10 +3112,10 @@ public Action Timer_Draw(Handle Timer, any data)
for(int i = 0; i < 3; i++)
{
snap1 = origin;
snap1[i] -= (gI_GridSnap[client] / 2);
snap1[i] -= gI_GridSnap[client];

snap2 = origin;
snap2[i] += (gI_GridSnap[client] / 2);
snap2[i] += gI_GridSnap[client];

TE_SetupBeamPoints(snap1, snap2, gI_BeamSpriteIgnoreZ, gA_ZoneSettings[type][track].iHalo, 0, 0, 0.1, 1.0, 1.0, 0, 0.0, {255, 255, 255, 75}, 0);
TE_SendToAll(0.0);
Expand Down

0 comments on commit eab3103

Please sign in to comment.