mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Fix typos and en_US/en_GB inconsistency in various files (#12902)
This commit is contained in:
parent
6191bafcad
commit
d1b80b462e
84 changed files with 134 additions and 134 deletions
|
@ -86,7 +86,7 @@ void Client::handleCommand_Hello(NetworkPacket* pkt)
|
|||
|
||||
//TODO verify that username_legacy matches sent username, only
|
||||
// differs in casing (make both uppercase and compare)
|
||||
// This is only neccessary though when we actually want to add casing support
|
||||
// This is only necessary though when we actually want to add casing support
|
||||
|
||||
if (m_chosen_auth_mech != AUTH_MECHANISM_NONE) {
|
||||
// we received a TOCLIENT_HELLO while auth was already going on
|
||||
|
@ -186,7 +186,7 @@ void Client::handleCommand_DenySudoMode(NetworkPacket* pkt)
|
|||
void Client::handleCommand_AccessDenied(NetworkPacket* pkt)
|
||||
{
|
||||
// The server didn't like our password. Note, this needs
|
||||
// to be processed even if the serialisation format has
|
||||
// to be processed even if the serialization format has
|
||||
// not been agreed yet, the same as TOCLIENT_INIT.
|
||||
m_access_denied = true;
|
||||
m_access_denied_reason = "Unknown";
|
||||
|
|
|
@ -364,7 +364,7 @@ public:
|
|||
u16 readNextIncomingSeqNum();
|
||||
u16 incNextIncomingSeqNum();
|
||||
|
||||
u16 getOutgoingSequenceNumber(bool& successfull);
|
||||
u16 getOutgoingSequenceNumber(bool& successful);
|
||||
u16 readOutgoingSequenceNumber();
|
||||
bool putBackSequenceNumber(u16);
|
||||
|
||||
|
|
|
@ -1130,7 +1130,7 @@ SharedBuffer<u8> ConnectionReceiveThread::handlePacketType_Control(Channel *chan
|
|||
// Get round trip time
|
||||
u64 current_time = porting::getTimeMs();
|
||||
|
||||
// a overflow is quite unlikely but as it'd result in major
|
||||
// an overflow is quite unlikely but as it'd result in major
|
||||
// rtt miscalculation we handle it here
|
||||
if (current_time > p->absolute_send_time) {
|
||||
float rtt = (current_time - p->absolute_send_time) / 1000.0;
|
||||
|
@ -1277,7 +1277,7 @@ SharedBuffer<u8> ConnectionReceiveThread::handlePacketType_Reliable(Channel *cha
|
|||
throw ProcessedSilentlyException(
|
||||
"Received packet newer then expected, not sending ack");
|
||||
|
||||
/* seems like our ack was lost, send another one for a old packet */
|
||||
/* seems like our ack was lost, send another one for an old packet */
|
||||
if (is_old_packet) {
|
||||
LOG(dout_con << m_connection->getDesc()
|
||||
<< "RE-SENDING ACK: peer_id: " << peer->id
|
||||
|
|
|
@ -243,7 +243,7 @@ enum ToClientCommand
|
|||
/*
|
||||
Sent after TOSERVER_INIT.
|
||||
|
||||
u8 deployed serialisation version
|
||||
u8 deployed serialization version
|
||||
u16 deployed network compression mode
|
||||
u16 deployed protocol version
|
||||
u32 supported auth methods
|
||||
|
@ -841,7 +841,7 @@ enum ToServerCommand
|
|||
/*
|
||||
Sent first after connected.
|
||||
|
||||
u8 serialisation version (=SER_FMT_VER_HIGHEST_READ)
|
||||
u8 serialization version (=SER_FMT_VER_HIGHEST_READ)
|
||||
u16 supported network compression modes
|
||||
u16 minimum supported network protocol version
|
||||
u16 maximum supported network protocol version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue