| 290 | } |
| 291 | |
| 292 | serverinfo *getconnectedserverinfo() |
| 293 | { |
| 294 | if(!curpeer) return NULL; |
| 295 | return findserverinfo(curpeer->address); |
| 296 | } |
| 297 | |
| 298 | static serverinfo *newserver(const char *name, uint ip = ENET_HOST_ANY, int port = CUBE_DEFAULT_SERVER_PORT, int weight = 0) |
| 299 | { |
no test coverage detected