| 3725 | } |
| 3726 | |
| 3727 | bool Object::IsDisabled() const |
| 3728 | { |
| 3729 | if (!*sgOptions.Gameplay.disableCripplingShrines) { |
| 3730 | return false; |
| 3731 | } |
| 3732 | if (IsAnyOf(_otype, _object_id::OBJ_GOATSHRINE, _object_id::OBJ_CAULDRON)) { |
| 3733 | return true; |
| 3734 | } |
| 3735 | if (!IsShrine()) { |
| 3736 | return false; |
| 3737 | } |
| 3738 | return IsAnyOf(static_cast<shrine_type>(_oVar1), shrine_type::ShrineFascinating, shrine_type::ShrineOrnate, shrine_type::ShrineSacred, shrine_type::ShrineMurphys); |
| 3739 | } |
| 3740 | |
| 3741 | Object *FindObjectAtPosition(Point position, bool considerLargeObjects) |
| 3742 | { |
no test coverage detected