Fixed shaky-camera, when bot gets killed.
Make use short bot name here and there. Minor tweaks.
This commit is contained in:
parent
c793ab9ee1
commit
47fefabe66
6 changed files with 14 additions and 6 deletions
|
|
@ -2809,7 +2809,7 @@ WaypointDownloadError Waypoint::downloadWaypoint (void) {
|
|||
}
|
||||
|
||||
String request;
|
||||
request.format ("GET /wpdb/%s.pwf HTTP/1.0\r\nAccept: */*\r\nUser-Agent: YaPB/%s\r\nHost: %s\r\n\r\n", engine.getMapName (), PRODUCT_VERSION, yb_waypoint_autodl_host.str ());
|
||||
request.format ("GET /wpdb/%s.pwf HTTP/1.0\r\nAccept: */*\r\nUser-Agent: %s/%s\r\nHost: %s\r\n\r\n", engine.getMapName (), PRODUCT_SHORT_NAME, PRODUCT_VERSION, yb_waypoint_autodl_host.str ());
|
||||
|
||||
if (send (socketHandle, request.chars (), static_cast <int> (request.length () + 1), 0) < 1) {
|
||||
closeSocket (socketHandle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue