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