Add all (boolean) Game Settings to Settingsmenu (#3616)

This commit is contained in:
obligaron 2021-11-26 23:43:46 +01:00 committed by GitHub
commit ff5de056fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 65 additions and 53 deletions

View file

@ -4338,7 +4338,7 @@ unsigned int Object::GetId() const
bool Object::IsDisabled() const
{
if (!sgOptions.Gameplay.bDisableCripplingShrines) {
if (!*sgOptions.Gameplay.disableCripplingShrines) {
return false;
}
if (IsAnyOf(_otype, _object_id::OBJ_GOATSHRINE, _object_id::OBJ_CAULDRON)) {