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:
Kayne Ruse
2014-04-27 02:37:20 +10:00
parent 9ec1ddab99
commit fa9487c2f2
2 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
#include "SDL/SDL_net.h"
struct ClientEntry {
IPaddress address;
IPaddress address = {0,0};
static int uidCounter;
};