Skip to content

Commit 8e793ac

Browse files
committed
remove const
1 parent 5fd3f51 commit 8e793ac

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Client/game_sa/CSettingsSA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ bool CSettingsSA::GetDynamicPedShadowsEnabledByVideoSetting() const noexcept
323323
return volumetricShadow;
324324
}
325325

326-
bool CSettingsSA::ResetDynamicPedShadows() const noexcept
326+
bool CSettingsSA::ResetDynamicPedShadows() noexcept
327327
{
328328
pGame->GetSettings()->SetDynamicPedShadowsEnabled(pGame->GetSettings()->GetDynamicPedShadowsEnabledByVideoSetting());
329329
return true;

Client/game_sa/CSettingsSA.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class CSettingsSA : public CGameSettings
148148
bool IsDynamicPedShadowsEnabled();
149149
void SetDynamicPedShadowsEnabled(bool bEnable);
150150
bool GetDynamicPedShadowsEnabledByVideoSetting() const noexcept;
151-
bool ResetDynamicPedShadows() const noexcept;
151+
bool ResetDynamicPedShadows() noexcept;
152152

153153
float GetAspectRatioValue();
154154
eAspectRatio GetAspectRatio();

Client/sdk/game/CSettings.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ class CGameSettings
140140

141141
virtual bool IsDynamicPedShadowsEnabled() = 0;
142142
virtual void SetDynamicPedShadowsEnabled(bool bEnable) = 0;
143-
virtual bool GetDynamicPedShadowsEnabledByVideoSetting() const noexcept = 0;
144-
virtual bool ResetDynamicPedShadows() const noexcept = 0;
143+
virtual bool GetDynamicPedShadowsEnabledByVideoSetting() const noexcept = 0;
144+
virtual bool ResetDynamicPedShadows() noexcept = 0;
145145

146146
virtual float GetAspectRatioValue() = 0;
147147
virtual eAspectRatio GetAspectRatio() = 0;

0 commit comments

Comments
 (0)