summaryrefslogtreecommitdiff
path: root/src/video/dedicated_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/dedicated_v.cpp')
-rw-r--r--src/video/dedicated_v.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp
index 6577bd6b7..89cec2df9 100644
--- a/src/video/dedicated_v.cpp
+++ b/src/video/dedicated_v.cpp
@@ -260,8 +260,8 @@ void VideoDriver_Dedicated::MainLoop()
// Load the dedicated server stuff
_is_network_server = true;
_network_dedicated = true;
- _network_playas = PLAYER_SPECTATOR;
- _local_player = PLAYER_SPECTATOR;
+ _network_playas = COMPANY_SPECTATOR;
+ _local_company = COMPANY_SPECTATOR;
/* If SwitchMode is SM_LOAD, it means that the user used the '-g' options */
if (_switch_mode != SM_LOAD) {