Resets the settings that a server uses
| 2806 | |
| 2807 | // Resets the settings that a server uses |
| 2808 | void MultiResetSettings() { |
| 2809 | strcpy(Netgame.scriptname, "Anarchy.d3m"); |
| 2810 | strcpy(Netgame.connection_name, "Direct TCP~IP"); |
| 2811 | strcpy(Netgame.mission, "fury.mn3"); |
| 2812 | strcpy(Netgame.name, "Generic D3 Game"); |
| 2813 | |
| 2814 | Netgame.packets_per_second = 10; |
| 2815 | Netgame.respawn_time = 60; |
| 2816 | Netgame.flags = NF_RANDOMIZE_RESPAWN; |
| 2817 | Netgame.max_players = 8; |
| 2818 | Netgame.difficulty = 2; |
| 2819 | |
| 2820 | // Clear MOTD |
| 2821 | Multi_message_of_the_day[0] = 0; |
| 2822 | } |
| 2823 | |
| 2824 | #define LEVEL_SPAN 10.0f |
| 2825 |
no outgoing calls
no test coverage detected