Replaced several lookups to the same object with a reference

This commit is contained in:
Kayne Ruse
2014-06-02 22:35:55 +10:00
parent 2bebfdfb97
commit 0a03535ecb
2 changed files with 13 additions and 4 deletions
+1
View File
@@ -32,6 +32,7 @@
#define NETWORK_VERSION 20140601
#define PACKET_STRING_SIZE 100
//TODO: would it be possible to serialize structures directly?
union SerialPacket {
//types of packets
enum class Type {