Changeset 9272 in orxonox.OLD for branches/proxy/src/lib/network/network_monitor.cc
- Timestamp:
- Jul 13, 2006, 3:17:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_monitor.cc
r9267 r9272 32 32 NetworkMonitor::NetworkMonitor(NetworkStream* networkStream) 33 33 { 34 34 this->playerNumber = 0; 35 35 } 36 36 … … 49 49 { 50 50 this->clientList.push_back(node); 51 this->playerNumber++; 51 52 } 52 53 … … 57 58 { 58 59 this->proxyServerList.push_back(node); 60 this->playerNumber++; 59 61 } 60 62 … … 65 67 { 66 68 this->masterServerList.push_back(node); 69 this->playerNumber++; 67 70 } 68 71 … … 78 81 { 79 82 this->clientList.erase(it); 83 this->playerNumber--; 80 84 return; 81 85 } … … 96 100 { 97 101 this->proxyServerList.erase(it); 102 this->playerNumber--; 98 103 return; 99 104 } … … 114 119 { 115 120 this->masterServerList.erase(it); 121 this->playerNumber--; 116 122 return; 117 123 }
Note: See TracChangeset
for help on using the changeset viewer.