Remeved the commented BUGFIX tags

This commit is contained in:
Kayne Ruse
2014-09-10 17:00:13 +10:00
parent 712d94d3b2
commit ad2c65dc67
5 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ void CleanUp::Update() {
SetNextScene(SceneList::MAINMENU);
}
//BUGFIX: Eat incoming packets
//Eat incoming packets
while(network.Receive());
}
+1 -1
View File
@@ -64,7 +64,7 @@ LobbyMenu::LobbyMenu(int* const argClientIndex, int* const argAccountIndex):
//set the server list's position
listBox = {300, 50, 200, font.GetCharH()};
//BUGFIX: Eat incoming packets
//Eat incoming packets
while(network.Receive());
//Initial broadcast
+1 -1
View File
@@ -26,7 +26,7 @@
#include <stdexcept>
//BUGFIX: memset() is used before sending a packet to remove old data; you don't want to send sensitive data over the network
//NOTE: memset() is used before sending a packet to remove old data; you don't want to send sensitive data over the network
//NOTE: don't confuse SerialPacketBase with UDPpacket
void UDPNetworkUtility::Open(int port) {
-2
View File
@@ -35,8 +35,6 @@ void ServerApplication::HandlePing(ServerPacket* const argPacket) {
void ServerApplication::HandlePong(ServerPacket* const argPacket) {
//find and update the specified client
//BUGFIX: running multiple clients on one computer will result in matching host values; check the ports too
for (auto& it : clientMap) {
if (it.second.GetAddress().host == argPacket->srcAddress.host &&
it.second.GetAddress().port == argPacket->srcAddress.port
-2
View File
@@ -1,5 +1,3 @@
TODO: Remove the BUGFIX tags
TODO: Rejection messages
TODO: The error handling is terrible
TODO: Get the rooms working, even if only via hotkeys
TODO: Fix shoddy movement