fix ai bug
This commit is contained in:
1 parent
a24876cf79
commit
a11ce3005c
3 files changed
+11
-2
No files matched your search
@@ -50,8 +50,10 @@ public:
|
||||
virtual ~CustomAI();
|
||||
|
||||
// Attaches the player context handed out by the server at
|
||||
// cmNewGame/cmLoadGame (TNewGameData.RO[nation]).
|
||||
void bind(TPlayerContext *playerContext);
|
||||
// cmNewGame/cmLoadGame (TNewGameData.RO[nation]). Virtual so an AI can
|
||||
// pick up its persistent data (the original did it in its constructor,
|
||||
// but here the context only arrives after construction).
|
||||
virtual void bind(TPlayerContext *playerContext);
|
||||
|
||||
// Set once per module from cmInitModule's TInitModuleData.Server; shared
|
||||
// by every CustomAI instance in this process, matching the original's
|
||||
|
||||
Reference in new issue
Block a user