Fix ea9715d: not all setting values were clamped properly (#9401)

pull/332/head
SamuXarick 3 years ago committed by GitHub
parent 59e96cd56a
commit 003b6a0c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -439,7 +439,7 @@ void IntSettingDesc::MakeValueValid(int32 &val) const
uval = (uint32)this->def; uval = (uint32)this->def;
} }
} }
val = (int32)val; val = (int32)uval;
return; return;
} }
case SLE_VAR_I64: case SLE_VAR_I64:

Loading…
Cancel
Save