fix ai bug
This commit is contained in:
1 parent
a24876cf79
commit
a11ce3005c
3 files changed
+11
-2
No files matched your search
@@ -146,6 +146,12 @@ const std::array<int, nAdv> LeaveOutValue = computeLeaveOutValue();
|
||||
|
||||
AI::AI(int nation) : Barbarina(nation) {}
|
||||
|
||||
void AI::bind(TPlayerContext *playerContext)
|
||||
{
|
||||
Barbarina::bind(playerContext);
|
||||
data = static_cast<TPersistentData *>(ro->Data);
|
||||
}
|
||||
|
||||
void AI::setDataDefaults()
|
||||
{
|
||||
data->LastResearchTech = -1;
|
||||
|
||||
Reference in new issue
Block a user