aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/connections.cc2
-rw-r--r--src/sending.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/connections.cc b/src/connections.cc
index 84daec6..f1d36fb 100644
--- a/src/connections.cc
+++ b/src/connections.cc
@@ -202,7 +202,7 @@ bool TConnection::JoinGame(TReadBuffer *Buffer){
}
this->ClearKnownCreatureTable(false);
-
+
try{
this->TerminalType = (int)Buffer->readWord();
this->TerminalVersion = (int)Buffer->readWord();
diff --git a/src/sending.cc b/src/sending.cc
index 329635b..5a5a969 100644
--- a/src/sending.cc
+++ b/src/sending.cc
@@ -1707,7 +1707,7 @@ void SendBuddyStatus(TConnection *Connection, uint32 CharacterID, bool Online){
}else{
SendByte(Connection, SV_CMD_BUDDY_OFFLINE);
}
- SendWord(Connection, CharacterID);
+ SendQuad(Connection, CharacterID);
FinishSendData(Connection);
}