Loading

Paste #pytpi3bkw

  1. this->SetWidgetDisabledState(WID_AIC_CHANGE, ((this->selected_slot == OWNER_DEITY && _game_mode == GM_NORMAL) || this->selected_slot == INVALID_COMPANY) || (this->selected_slot <= MAX_COMPANIES && _game_mode == GM_NORMAL && Company::IsValidAiID(this->selected_slot) && !Company::Get(this->selected_slot)->ai_instance->IsDead()));

Comments