Comment tweaks

This commit is contained in:
Kayne Ruse
2014-12-18 09:28:24 +11:00
parent 015631a73d
commit 4d1bb17382
4 changed files with 4 additions and 30 deletions
+3 -3
View File
@@ -43,14 +43,14 @@ void ServerApplication::PumpPacket(SerialPacket* const argPacket) {
}
}
void ServerApplication::PumpPacketProximity(SerialPacket* const argPacket, int roomIndex, int x, int y, int radius) {
/*void ServerApplication::PumpPacketProximity(SerialPacket* const argPacket, int roomIndex, int x, int y, int radius) {
//TODO: PumpPacketProximity
//for position (roomIndex, x, y), find all characters within that distance
//find that character's owner
//find that account's client
//send the packet to that client
//NOTE: this is perhaps too complex; I write it if I need it
}
*/}
//-------------------------
//common copy methods
@@ -70,4 +70,4 @@ void ServerApplication::CopyCharacterToPacket(CharacterPacket* const packet, int
packet->roomIndex = character->GetRoomIndex();
packet->origin = character->GetOrigin();
packet->motion = character->GetMotion();
}
}