Loading

Paste #phnhf0p2b

  1. bool editable = _game_mode == GM_MENU ||
  2.            _game_mode == GM_NORMAL && (IsConsideredDead(this->slot) || (config_item.flags & SCRIPTCONFIG_INGAME) != 0) ||
  3. IsConsideredDead(this->slot) && (this->slot == OWNER_DEITY ? Game::GetInstance() == NULL : !IsValidAiID(this->slot) || Company::Get(this->slot)->ai_instance == NULL);

Comments