Removed initial world query

The world is queried once the client has the player's character.
This commit is contained in:
Kayne Ruse
2015-03-13 19:12:34 +11:00
parent ca6afb72ad
commit d2bb3575fc
6 changed files with 6 additions and 12 deletions
+2 -2
View File
@@ -88,10 +88,10 @@ void World::hCharacterCreate(CharacterPacket* const argPacket) {
characterIndex = argPacket->characterIndex;
roomIndex = argPacket->roomIndex;
//query the world state
//query the world state (room)
CharacterPacket newPacket;
memset(&newPacket, 0, MAX_PACKET_SIZE);
newPacket.type = SerialPacketType::QUERY_CHARACTER_EXISTS; //TODO: (1) the EXISTS and LOCATION queries are backwards?
newPacket.type = SerialPacketType::QUERY_CHARACTER_EXISTS;
newPacket.roomIndex = roomIndex;
network.SendTo(Channels::SERVER, &newPacket);
newPacket.type = SerialPacketType::QUERY_MONSTER_EXISTS;