| 16 | packetqueue pktlogger; |
| 17 | |
| 18 | void neterr(const char *s) |
| 19 | { |
| 20 | conoutf("\f3illegal network message (%s)", s); |
| 21 | |
| 22 | // might indicate a client/server communication bug, create error report |
| 23 | pktlogger.flushtolog("packetlog.txt"); |
| 24 | conoutf("\f3wrote a network error report to packetlog.txt, please post this file to the bugtracker now!"); |
| 25 | |
| 26 | disconnect(); |
| 27 | } |
| 28 | |
| 29 | VARP(autogetmap, 0, 1, 1); // only if the client doesn't have that map |
| 30 | VARP(autogetnewmaprevisions, 0, 1, 1); |
no test coverage detected