Moved it to OctreeQuery
Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all
Unified · Split
| @@ -2304,7 +2304,7 @@ void Application::queryOctree(NodeType_t serverType, PacketType packetType, Node · 2303 unmodified lines | |||
| 2304 | int perServerPPS = 0; | 2304 | int perServerPPS = 0; |
| 2305 | const int SMALL_BUDGET = 10; | 2305 | const int SMALL_BUDGET = 10; |
| 2306 | int perUnknownServer = SMALL_BUDGET; | 2306 | int perUnknownServer = SMALL_BUDGET; |
| 2307 | int totalPPS = Menu::getInstance()->getMaxOctreePacketsPerSecond(); | 2307 | int totalPPS = _octreeQuery.getMaxOctreePacketsPerSecond(); |
| 2308 | 2308 | ||
| 2309 | // determine PPS based on number of servers | 2309 | // determine PPS based on number of servers |
| 2310 | if (inViewServers >= 1) { | 2310 | if (inViewServers >= 1) { |