equal
deleted
inserted
replaced
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 |