| 1783 | } |
| 1784 | |
| 1785 | void InitDedicatedServer() { |
| 1786 | Game_mode |= GM_MULTI; |
| 1787 | Netgame.local_role = LR_SERVER; |
| 1788 | |
| 1789 | int ok = LoadServerConfigFile(); |
| 1790 | |
| 1791 | if (!ok) { |
| 1792 | PrintDedicatedMessage(TXT_SHUTTINGDOWN); |
| 1793 | Error("Cannot load Dedicated Server config file."); |
| 1794 | exit(0); |
| 1795 | } |
| 1796 | } |
| 1797 | |
| 1798 | /* |
| 1799 | The D3 Initialization Mess |
no test coverage detected