Browse Source

Merge pull request #1556 from qndel/LoadGamma

[hellfire] LoadGamma bin exact
pull/876/head
Robin Eklind 7 years ago committed by GitHub
parent
commit
7ffb86f42f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/palette.cpp

2
Source/palette.cpp

@ -60,9 +60,11 @@ void LoadGamma()
gamma_value = 100;
}
gamma_correction = gamma_value - gamma_value % 5;
#ifndef HELLFIRE
if (!SRegLoadValue("Diablo", "Color Cycling", 0, &value))
value = 1;
color_cycling_enabled = value;
#endif
}
void LoadSysPal()

Loading…
Cancel
Save