/** ** Check if the player and the unit share vision */ bool CPlayer::IsBothSharedVision(const CUnit &unit) const { return IsBothSharedVision(*unit.Player); }
/** ** Check if the player and the unit share vision */ bool CPlayer::IsBothSharedVision(const CUnit *x) const { return IsBothSharedVision(x->Player); }