Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (stage == ClientFrameStage_t::FRAME_NET_UPDATE_START) {
- for (unsigned int i = 0; i < trace_logs.size(); i++) {
- float time = g_GlobalVars->curtime - trace_logs[i].time;
- if (time > 0.f) {
- trace_logs.erase(trace_logs.begin() + i);
- continue;
- }
- Color color = Color(g_Options.impactColor);
- DrawBeam(trace_logs[i].start, trace_logs[i].position, color);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement