diff options
author | truelight <truelight@openttd.org> | 2004-12-15 15:19:51 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-15 15:19:51 +0000 |
commit | 29b844a408c3aaaf747f63b377bbfe15c597551f (patch) | |
tree | 89befd7f731a8422e3db185aa041d725963b7aad /players.c | |
parent | c8ca2a860412b7fb85bb56e1fc0c7a93b0d0ec6f (diff) | |
download | openttd-29b844a408c3aaaf747f63b377bbfe15c597551f.tar.xz |
(svn r1096) -Fix: [Network] PlayAs is now registered correctly
-Codewise: [Network] Cleaned some code, removed some comment, changed
some wrong comment
Diffstat (limited to 'players.c')
-rw-r--r-- | players.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -662,8 +662,6 @@ int32 CmdPlayerCtrl(int x, int y, uint32 flags, uint32 p1, uint32 p2) _docommand_recursive = 0; DoCommandP(0, ci->client_playas-1, 0, NULL, CMD_CHANGE_PRESIDENT_NAME | CMD_MSG(STR_700D_CAN_T_CHANGE_PRESIDENT)); } - } else { - _network_playas = p->index + 1; } } else { if (_network_server) { @@ -672,8 +670,6 @@ int32 CmdPlayerCtrl(int x, int y, uint32 flags, uint32 p1, uint32 p2) ci = &_network_client_info[p2]; ci->client_playas = OWNER_SPECTATOR; NetworkUpdateClientInfo(ci->client_index); - } else { - _network_playas = OWNER_SPECTATOR; } #endif /* ENABLE_NETWORK */ } |