(svn r15096) -Fix [NoAI]: free memory when no longer needed
-Fix [NoAI]: when there are multiple versions of one AI, never randonly pick an older one, but always the latest
This commit is contained in:
@@ -29,11 +29,6 @@ public:
|
||||
|
||||
void SetDummyAI(class AIInfo *info) { this->info_dummy = info; }
|
||||
|
||||
/**
|
||||
* Remove an AI from the available list.
|
||||
*/
|
||||
void UnregisterAI(class AIInfo *info);
|
||||
|
||||
/**
|
||||
* Select a Random AI.
|
||||
*/
|
||||
@@ -88,6 +83,7 @@ private:
|
||||
|
||||
AIInfo *info_dummy;
|
||||
AIInfoList info_list;
|
||||
AIInfoList info_single_list;
|
||||
AILibraryList library_list;
|
||||
class Squirrel *engine;
|
||||
char main_script[1024];
|
||||
|
Reference in New Issue
Block a user