build: re-enable -flto for gcc and clang.

This commit is contained in:
ds 2020-11-06 16:23:11 +03:00
commit 8219843ee1
6 changed files with 39 additions and 14 deletions

View file

@ -26,7 +26,7 @@ private:
public:
// get the bot version string
virtual const char *getBotVersion () override {
return product.version.chars ();
return MODULE_BOT_VERSION "." MODULE_BUILD_COUNT;
}
// checks if bots are currently in game
@ -82,6 +82,7 @@ public:
}
}
// get's the bot current goal node
virtual int getBotGoal (int entity) override {
auto bot = getBot (entity);