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:
parent
8e81eb1c96
commit
3358168fad
27 changed files with 588 additions and 581 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue