Gets us out of a multiplayer game in a hurry...useful for when things are screwed
| 1856 | |
| 1857 | // Gets us out of a multiplayer game in a hurry...useful for when things are screwed |
| 1858 | void BailOnMultiplayer(const char *message) { |
| 1859 | Int3(); // Get Jason |
| 1860 | |
| 1861 | // Show message |
| 1862 | if (message == NULL) |
| 1863 | ShowProgressScreen(TXT_MULTI_DATACORRUPT); |
| 1864 | else |
| 1865 | ShowProgressScreen(message); |
| 1866 | |
| 1867 | MultiLeaveGame(); |
| 1868 | Sleep(2000); |
| 1869 | } |
| 1870 | |
| 1871 | // Adds the trunctuated position data to an outgoing packet |
| 1872 | void MultiAddPositionData(vector *pos, uint8_t *data, int *count) { |
no test coverage detected