(svn r1096) -Fix: [Network] PlayAs is now registered correctly

-Codewise: [Network] Cleaned some code, removed some comment, changed 
some wrong comment
This commit is contained in:
truelight
2004-12-15 15:19:51 +00:00
parent c8ca2a8604
commit 29b844a408
5 changed files with 20 additions and 17 deletions

View File

@@ -778,7 +778,7 @@ DEF_SERVER_RECEIVE_COMMAND(PACKET_CLIENT_COMMAND)
return;
}
if (cp->cmd == CMD_PLAYER_CTRL) {
// UGLY! p1 is mis-used to get the client-id in CmdPlayerCtrl
// UGLY! p2 is mis-used to get the client-id in CmdPlayerCtrl
cp->p2 = cs - _clients;
}