Bunnies are visible in all rooms

This commit is contained in:
2016-03-29 16:29:30 +11:00
parent 8778bfdc4b
commit a532d33579
+1
View File
@@ -815,6 +815,7 @@ void ServerApplication::hQueryCreatureExists(CreaturePacket* const argPacket) {
for (auto& it : *(creatureMgr->GetContainer()) ) { for (auto& it : *(creatureMgr->GetContainer()) ) {
copyCreatureToPacket(&newPacket, &(it.second), it.first); copyCreatureToPacket(&newPacket, &(it.second), it.first);
newPacket.type = SerialPacketType::QUERY_CREATURE_EXISTS; newPacket.type = SerialPacketType::QUERY_CREATURE_EXISTS;
newPacket.roomIndex = argPacket->roomIndex;
network.SendTo(argPacket->srcAddress, static_cast<SerialPacket*>(&newPacket)); network.SendTo(argPacket->srcAddress, static_cast<SerialPacket*>(&newPacket));
} }
} }