mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-26 13:40:05 +00:00
Rearranged the codebase a little.
* Deleted empty Player.cpp * Moved the helper functions from the obsolete CNStructs.cpp into main.cpp and deleted it * Renamed CombatManager to MobManager, as that will likely become it's main focus soon
This commit is contained in:
@@ -167,7 +167,7 @@ void CNSocket::step() {
|
||||
// we aren't reading a packet yet, try to start looking for one
|
||||
int recved = recv(sock, (buffer_t*)readBuffer, sizeof(int32_t), 0);
|
||||
if (!SOCKETERROR(recved)) {
|
||||
// we got out packet size!!!!
|
||||
// we got our packet size!!!!
|
||||
readSize = *((int32_t*)readBuffer);
|
||||
// sanity check
|
||||
if (readSize > CN_PACKET_BUFFER_SIZE) {
|
||||
|
||||
Reference in New Issue
Block a user