Added some basic code to RoomManager

This commit is contained in:
Kayne Ruse
2014-06-14 00:44:13 +10:00
parent a11867126c
commit e57b047343
5 changed files with 52 additions and 30 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ void ServerApplication::HandleRegionRequest(RegionPacket* const argPacket) {
newPacket.region = roomMgr.GetRoom(argPacket->roomIndex)->pager.GetRegion(argPacket->x, argPacket->y);
//send the content
network.SendTo(&argPacket->srcAddress, static_cast<SerialPacket*>(argPacket));
network.SendTo(&argPacket->srcAddress, static_cast<SerialPacket*>(&newPacket));
}
//-------------------------