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
commitb5a9cc0ed867f90b0c2d07892cdd11b997875409 (patch)
tree56b169f918de31fcbfda2dcf9736b81b40e43343 /src
parent9a93718898df3c3dabc994d686d8745de1d7bf19 (diff)
downloadopenttd-b5a9cc0ed867f90b0c2d07892cdd11b997875409.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 */