diff -r 4f7e3408936b -r 8becb17444a7 src/players.cpp --- a/src/players.cpp Thu Apr 17 20:03:28 2008 +0000 +++ b/src/players.cpp Thu Apr 17 21:21:01 2008 +0000 @@ -14,6 +14,7 @@ #include "network/network.h" #include "network/network_internal.h" #include "variables.h" +#include "cheat_func.h" #include "ai/ai.h" #include "player_face.h" #include "group.h" @@ -956,19 +957,6 @@ return _endgame_perf_titles[value]; } -/** Return true if any cheat has been used, false otherwise */ -static bool CheatHasBeenUsed() -{ - const Cheat* cht = (Cheat*)&_cheats; - const Cheat* cht_last = &cht[sizeof(_cheats) / sizeof(Cheat)]; - - for (; cht != cht_last; cht++) { - if (cht->been_used) return true; - } - - return false; -} - /** Save the highscore for the player */ int8 SaveHighScoreValue(const Player *p) {