summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-06-22 22:25:21 +0000
committertruelight <truelight@openttd.org>2007-06-22 22:25:21 +0000
commit8d415469ccd1d97de12c072bddd4a2397c68f36a (patch)
tree56b169f918de31fcbfda2dcf9736b81b40e43343 /src
parentcc6ee1840a4ba53ffe5b5f7975b1ddb93b0e393e (diff)
downloadopenttd-8d415469ccd1d97de12c072bddd4a2397c68f36a.tar.xz
(svn r10286) -Fix r10284: nice typo (tnx glx)
Diffstat (limited to 'src')
-rw-r--r--src/players.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/players.cpp b/src/players.cpp
index 0b4144614..f601514c2 100644
--- a/src/players.cpp
+++ b/src/players.cpp
@@ -840,7 +840,7 @@ CommandCost CmdPlayerCtrl(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
NetworkClientInfo *ci = &_network_client_info[cid];
ci->client_playas = PLAYER_SPECTATOR;
NetworkUpdateClientInfo(ci->client_index);
- } else if (_local_player == PLAYER_SPECATOR) {
+ } else if (_local_player == PLAYER_SPECTATOR) {
_network_playas = PLAYER_SPECTATOR;
}
#endif /* ENABLE_NETWORK */