src/network/network_gamelist.cpp
changeset 6573 7624f942237f
parent 6447 3b71e57fd22b
child 6743 cabfaa4a0295
equal deleted inserted replaced
6572:e35266003390 6573:7624f942237f
    87 	MAX_GAME_LIST_REQUERY_COUNT =  5,
    87 	MAX_GAME_LIST_REQUERY_COUNT =  5,
    88 	REQUERY_EVERY_X_GAMELOOPS   = 60,
    88 	REQUERY_EVERY_X_GAMELOOPS   = 60,
    89 };
    89 };
    90 
    90 
    91 /** Requeries the (game) servers we have not gotten a reply from */
    91 /** Requeries the (game) servers we have not gotten a reply from */
    92 void NetworkGameListRequery(void)
    92 void NetworkGameListRequery()
    93 {
    93 {
    94 	static uint8 requery_cnt = 0;
    94 	static uint8 requery_cnt = 0;
    95 
    95 
    96 	if (_stop_requerying || ++requery_cnt < REQUERY_EVERY_X_GAMELOOPS) return;
    96 	if (_stop_requerying || ++requery_cnt < REQUERY_EVERY_X_GAMELOOPS) return;
    97 
    97