| version 1.6 | | version 1.7 |
|---|
| | |
| if(ping_stats_on) | | if(ping_stats_on) |
| ping_stats_received((int)buf[1],pingtime); | | ping_stats_received((int)buf[1],pingtime); |
| else | | else |
| hud_message(MSGC_GAME_FEEDBACK, "%s %s %lums", "Ping response from ", | | hud_message(MSGC_GAME_FEEDBACK, "%s %s %ums", "Ping response from ", |
| Players[(int)buf[1]].callsign, fixmuldiv(pingtime, 1000, F1_0)); | | Players[(int)buf[1]].callsign, fixmuldiv(pingtime, 1000, F1_0)); |
| } | | } |
| } | | } |
| | |
| if(ping_stats_on) | | if(ping_stats_on) |
| ping_stats_received(buf[1],pingtime); | | ping_stats_received(buf[1],pingtime); |
| else | | else |
| hud_message(MSGC_GAME_FEEDBACK, "%s %s %lums", "Ping response from ", | | hud_message(MSGC_GAME_FEEDBACK, "%s %s %ums", "Ping response from ", |
| Players[(int)buf[1]].callsign, fixmuldiv(pingtime, 1000, F1_0)); | | Players[(int)buf[1]].callsign, fixmuldiv(pingtime, 1000, F1_0)); |
| | | |
| }break; | | }break; |