Minor comment tweaks
This commit is contained in:
@@ -91,7 +91,7 @@ void World::hCharacterCreate(CharacterPacket* const argPacket) {
|
|||||||
//query the world state
|
//query the world state
|
||||||
CharacterPacket newPacket;
|
CharacterPacket newPacket;
|
||||||
memset(&newPacket, 0, MAX_PACKET_SIZE);
|
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;
|
newPacket.roomIndex = roomIndex;
|
||||||
network.SendTo(Channels::SERVER, &newPacket);
|
network.SendTo(Channels::SERVER, &newPacket);
|
||||||
newPacket.type = SerialPacketType::QUERY_MONSTER_EXISTS;
|
newPacket.type = SerialPacketType::QUERY_MONSTER_EXISTS;
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ World::World(int* const argClientIndex, int* const argAccountIndex):
|
|||||||
newPacket.accountIndex = accountIndex;
|
newPacket.accountIndex = accountIndex;
|
||||||
network.SendTo(Channels::SERVER, &newPacket);
|
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
|
//query the world state
|
||||||
memset(&newPacket, 0, MAX_PACKET_SIZE);
|
memset(&newPacket, 0, MAX_PACKET_SIZE);
|
||||||
newPacket.type = SerialPacketType::QUERY_CHARACTER_EXISTS;
|
newPacket.type = SerialPacketType::QUERY_CHARACTER_EXISTS;
|
||||||
|
|||||||
Reference in New Issue
Block a user