MCPcopy 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
266void resetGames(void) {
267 for (int i = 0; i < (int)gameList.size(); i++) {
268 gameList[i].hasBeenPlayed = false;
269 }
270}
271
272int findRandomUnplayedGame(void) {
273 int count = 1;

Callers 2

nextMapFunction · 0.85
handleMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected