forked from 0ad/0ad
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:
parent
6a73dc2e16
commit
a5152c14d1
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user