Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. if (stage == ClientFrameStage_t::FRAME_NET_UPDATE_START) {
  2. for (unsigned int i = 0; i < trace_logs.size(); i++) {
  3. float time = g_GlobalVars->curtime - trace_logs[i].time;
  4.  
  5. if (time > 0.f) {
  6. trace_logs.erase(trace_logs.begin() + i);
  7. continue;
  8. }
  9.  
  10. Color color = Color(g_Options.impactColor);
  11. DrawBeam(trace_logs[i].start, trace_logs[i].position, color);
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement