| 797 | } |
| 798 | |
| 799 | inline const char * spawn_message() |
| 800 | { |
| 801 | if (spawnpermission == SP_WRONGMAP) |
| 802 | { |
| 803 | // Don't use "/n" within these messages. If you do, the words won't align to the middle of the screen. |
| 804 | if (securemapcheck(getclientmap())) |
| 805 | return "3The server will NOT allow spawning or getmap!"; // Also see client.cpp which has a conoutf message |
| 806 | else return "3You must be on the correct map to spawn. Type /getmap to download it."; |
| 807 | } |
| 808 | else if (m_coop) return "3Type /getmap or send a map and vote for it to start co-op edit."; |
| 809 | else if (multiplayer(NULL)) return "4Awaiting permission to spawn. \f2DON'T PANIC!"; |
| 810 | else return ""; // theres no waiting for permission in sp |
| 811 | // Despite its many glaring (and occasionally fatal) inaccuracies, AssaultCube itself has outsold the |
| 812 | // Encyclopedia Galactica because it is slightly cheaper, and because it has the words "Don't Panic" |
| 813 | // in large, friendly letters. |
| 814 | } |
| 815 | |
| 816 | int waiting_permission = 0; |
| 817 |
no test coverage detected