Loading

Paste #p12grch0h

  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));

Version history

Revision # Author Created at
phnhf0p2b Anonymous 28 Jan 2019, 14:45:16 UTC Diff

Comments