equal
deleted
inserted
replaced
528 if (_network_playas == OWNER_SPECTATOR) { |
528 if (_network_playas == OWNER_SPECTATOR) { |
529 // The client wants to be a spectator.. |
529 // The client wants to be a spectator.. |
530 _local_player = OWNER_SPECTATOR; |
530 _local_player = OWNER_SPECTATOR; |
531 DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0); |
531 DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0); |
532 } else { |
532 } else { |
533 // send a command to make a new player |
533 /* We have arrived and ready to start playing; send a command to make a new player; |
|
534 * the server will give us a client-id and let us in */ |
534 _local_player = 0; |
535 _local_player = 0; |
535 NetworkSend_Command(0, 0, 0, CMD_PLAYER_CTRL, NULL); |
536 NetworkSend_Command(0, 0, 0, CMD_PLAYER_CTRL, NULL); |
536 _local_player = OWNER_SPECTATOR; |
537 _local_player = OWNER_SPECTATOR; |
537 } |
538 } |
538 } else { |
539 } else { |