aim: look at last enemy origin when just loosed focus

fix: saving bot practice took enormous amount of time when changing level on large practice database
refactor: changed random number generator usage
This commit is contained in:
jeefo 2024-04-25 15:03:39 +03:00
commit 3358168fad
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
27 changed files with 588 additions and 581 deletions

View file

@ -317,7 +317,7 @@ public:
// get the random node on map
int32_t random () const {
return rg.get (0, length () - 1);
return rg (0, length () - 1);
}
// check if has editor