Codebase update: Made Vector2 a POD

This commit is contained in:
Kayne Ruse
2013-07-11 18:23:51 +10:00
parent 99bbe4be3a
commit 977c2b24fb
2 changed files with 37 additions and 11 deletions
+4 -2
View File
@@ -43,8 +43,10 @@ InWorld::InWorld() {
snprintf(p.playerInfo.handle, PACKET_STRING_SIZE, "%s", configUtil->CString("handle"));
snprintf(p.playerInfo.avatar, PACKET_STRING_SIZE, "%s", configUtil->CString("avatar"));
p.playerInfo.position = {50, 50};
p.playerInfo.motion = {0, 0};
p.playerInfo.position.x = 50;
p.playerInfo.position.y = 50;
p.playerInfo.motion.x = 0;
p.playerInfo.motion.y = 0;
netUtil->Send(GAME_CHANNEL, &p, sizeof(Packet));