Fixed the previous bug (read more)
The bug was being caused by not assigning default values to the player objects' internals. I've added a quick fix to these structs, but I think it's best to expand them into proper classes now.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include "SDL/SDL_net.h"
|
||||
|
||||
struct ClientEntry {
|
||||
IPaddress address;
|
||||
IPaddress address = {0,0};
|
||||
static int uidCounter;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user