Solved a few items on the TODO list

This commit is contained in:
Kayne Ruse
2014-05-28 22:16:36 +10:00
parent 6428b02d85
commit de7da81102
7 changed files with 74 additions and 80 deletions
+2
View File
@@ -106,6 +106,8 @@ void ServerApplication::HandleSynchronize(SerialPacket packet) {
newPacket.characterInfo.mapIndex = it.second.mapIndex;
newPacket.characterInfo.position = it.second.position;
newPacket.characterInfo.motion = it.second.motion;
newPacket.characterInfo.stats = it.second.stats;
serialize(&newPacket, buffer);
network.Send(&clientMap[packet.clientInfo.clientIndex].address, buffer, PACKET_BUFFER_SIZE);
}