mirror of https://github.com/OpenTTD/OpenTTD
(svn r21875) -Codechange: indentation of some comments was wrong
parent
1ac51128f5
commit
656caf16db
|
@ -209,8 +209,8 @@ void ClientNetworkGameSocketHandler::ClientError(NetworkRecvStatus res)
|
||||||
if (my_client->CanSendReceive()) {
|
if (my_client->CanSendReceive()) {
|
||||||
NetworkRecvStatus res = my_client->ReceivePackets();
|
NetworkRecvStatus res = my_client->ReceivePackets();
|
||||||
if (res != NETWORK_RECV_STATUS_OKAY) {
|
if (res != NETWORK_RECV_STATUS_OKAY) {
|
||||||
/* The client made an error of which we can not recover
|
/* The client made an error of which we can not recover.
|
||||||
* close the client and drop back to main menu */
|
* Close the connection and drop back to the main menu. */
|
||||||
my_client->ClientError(res);
|
my_client->ClientError(res);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1416,7 +1416,7 @@ public:
|
||||||
case VL_SHARED_ORDERS: // Shared Orders
|
case VL_SHARED_ORDERS: // Shared Orders
|
||||||
if (this->vehicles.Length() == 0) {
|
if (this->vehicles.Length() == 0) {
|
||||||
/* We can't open this window without vehicles using this order
|
/* We can't open this window without vehicles using this order
|
||||||
* and we should close the window when deleting the order */
|
* and we should close the window when deleting the order. */
|
||||||
NOT_REACHED();
|
NOT_REACHED();
|
||||||
}
|
}
|
||||||
SetDParam(0, this->vscroll->GetCount());
|
SetDParam(0, this->vscroll->GetCount());
|
||||||
|
|
Loading…
Reference in New Issue