Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vector extrapolate(baseentity* his, int value){
- return his->origin + (his->velocity * (Globals->tick_interval * (float)value));
- }
- Entity->head = extrapolate(Entity, TIME_TICKS(GetNetworklatency(Flow_incoming) + getnetworklatency(flow_outgoing)));
- storedvalue.tickdiff = TIME_TICKS(GetNetworklatency(Flow_incoming) + getnetworklatency(flow_outgoing));
- cmd->tick_count = storedvalue.tick_count + tickdiff;
Advertisement
Add Comment
Please, Sign In to add comment