mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 04:05:32 +00:00
Properly use the passed parameter as all other occourences.
Fixes 'disable_allwater = false' case in hwdetect.js. This was SVN commit r17410.
This commit is contained in:
@@ -149,7 +149,7 @@ void SetDisableShadowPCF(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), bool di
|
||||
|
||||
void SetDisableAllWater(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), bool disabled)
|
||||
{
|
||||
g_WaterUgly = true;
|
||||
g_WaterUgly = disabled;
|
||||
if (!IsOverridden("waterfancyeffects"))
|
||||
g_WaterFancyEffects = !disabled;
|
||||
if (!IsOverridden("waterrealdepth"))
|
||||
|
||||
Reference in New Issue
Block a user