summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-09-30 20:39:50 +0000
committerrubidium <rubidium@openttd.org>2008-09-30 20:39:50 +0000
commitf56e630e5cb839b307f04bf52465c4db4d1ad904 (patch)
tree69fb7ae1d9bdadb9e7386cb70b0a26621ad9b57f /src/video
parentdba193d4a54707a19d8f3c2f42a1ac10ff544c5c (diff)
downloadopenttd-f56e630e5cb839b307f04bf52465c4db4d1ad904.tar.xz
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
Diffstat (limited to 'src/video')
-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) {