Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BZFlag-Dev/bzflag
/ resetGames
Function
resetGames
plugins/mapchange/mapchange.cpp:266–270 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
264
}
265
266
void resetGames(void) {
267
for (int i = 0; i < (int)gameList.size(); i++) {
268
gameList[i].hasBeenPlayed = false;
269
}
270
}
271
272
int findRandomUnplayedGame(void) {
273
int count = 1;
Callers
2
nextMap
Function · 0.85
handle
Method · 0.85
Calls
1
size
Method · 0.45
Tested by
no test coverage detected