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:
2020-09-16 21:46:15 +02:00
parent 5efc8ac089
commit e03da83ff3
8 changed files with 50 additions and 50 deletions

View File

@@ -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) {