From 7b9e7dbbcf1d779419be8f22df812ff523a25450 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sat, 19 Jul 2025 16:44:58 -0300 Subject: fix some critical bugs Aside from obvious gameplay bugs pretty much everywhere, the game is finally in a PLAYABLE state. It should be smooth sailing to get it stable for an initial test server. --- src/communication.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/communication.hh') diff --git a/src/communication.hh b/src/communication.hh index 8d2574b..df0e00a 100644 --- a/src/communication.hh +++ b/src/communication.hh @@ -28,10 +28,9 @@ void NetLoadCheck(void); void InitLoadHistory(void); void ExitLoadHistory(void); -bool WriteToSocket(TConnection *Connection, uint8 *Buffer, int Size); +bool WriteToSocket(TConnection *Connection, uint8 *Buffer, int Size, int MaxSize); bool SendLoginMessage(TConnection *Connection, int Type, const char *Message, int WaitingTime); bool SendData(TConnection *Connection); -bool SendData(TConnection *Connection, const uint8 *Data, int Size); bool GetWaitinglistEntry(const char *Name, uint32 *NextTry, bool *FreeAccount, bool *Newbie); void InsertWaitinglistEntry(const char *Name, uint32 NextTry, bool FreeAccount, bool Newbie); -- cgit v1.2.3