From ca6afb72add840f613984e2d41f6498f4696a33d Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Wed, 11 Mar 2015 20:23:52 +1100 Subject: [PATCH] Minor comment tweaks --- client/gameplay_scenes/world_characters.cpp | 2 +- client/gameplay_scenes/world_logic.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/gameplay_scenes/world_characters.cpp b/client/gameplay_scenes/world_characters.cpp index 8a7628f..945d834 100644 --- a/client/gameplay_scenes/world_characters.cpp +++ b/client/gameplay_scenes/world_characters.cpp @@ -91,7 +91,7 @@ void World::hCharacterCreate(CharacterPacket* const argPacket) { //query the world state CharacterPacket newPacket; memset(&newPacket, 0, MAX_PACKET_SIZE); - newPacket.type = SerialPacketType::QUERY_CHARACTER_EXISTS; //TODO: (2) the EXISTS and LOCATION queries are backwards? + newPacket.type = SerialPacketType::QUERY_CHARACTER_EXISTS; //TODO: (1) the EXISTS and LOCATION queries are backwards? newPacket.roomIndex = roomIndex; network.SendTo(Channels::SERVER, &newPacket); newPacket.type = SerialPacketType::QUERY_MONSTER_EXISTS; diff --git a/client/gameplay_scenes/world_logic.cpp b/client/gameplay_scenes/world_logic.cpp index 5d7df57..c3f342a 100644 --- a/client/gameplay_scenes/world_logic.cpp +++ b/client/gameplay_scenes/world_logic.cpp @@ -71,7 +71,7 @@ World::World(int* const argClientIndex, int* const argAccountIndex): newPacket.accountIndex = accountIndex; network.SendTo(Channels::SERVER, &newPacket); - //TODO: (2) replace this duplication with a request for just this player's character + //TODO: (1) replace this duplication with a request for just this player's character //query the world state memset(&newPacket, 0, MAX_PACKET_SIZE); newPacket.type = SerialPacketType::QUERY_CHARACTER_EXISTS;