MCPcopy Create free account
hub / github.com/assaultcube/AC / current_version

Function current_version

source/src/client.cpp:277–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275COMMAND(whereami, "");
276
277void current_version(char *text)
278{
279 int version = atoi(text);
280 if (version && AC_VERSION<version)
281 {
282 hudoutf("\f3YOUR VERSION OF ASSAULTCUBE IS OUTDATED!");
283 conoutf("\f3YOU MUST UPDATE ASSAULTCUBE\nplease visit \f2http://assault.cubers.net \f3for more information");
284 }
285}
286COMMAND(current_version, "s");
287
288void cleanupclient()

Callers

nothing calls this directly

Calls 2

hudoutfFunction · 0.85
conoutfFunction · 0.70

Tested by

no test coverage detected