Browse Source

Merge branch 'master' of github.com:diasurgical/devilution

pull/858/head
Anders Jenbo 6 years ago
parent
commit
38574b9224
  1. 6
      README.md
  2. 2
      Source/palette.cpp

6
README.md

@ -349,8 +349,10 @@ Battle.net is a service provided by Blizzard. We are not associated with them, s
[From the beginning until release](docs/CHANGELOG.md) [From the beginning until release](docs/CHANGELOG.md)
# Legal # Legal
DevilutionX is released to the Public Domain. The documentation and functionality provided by Devilution may only be utilized with assets provided by ownership of Diablo. DevilutionX is released to the Public Domain. The documentation and functionality provided by DevilutionX may only be utilized with assets provided by ownership of Diablo.
The source code in this repository is for non-commerical use only. If you use the source code you may not charge others for access to it or any derivative work thereof.
Diablo® - Copyright © 1996 Blizzard Entertainment, Inc. All rights reserved. Diablo and Blizzard Entertainment are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries. Diablo® - Copyright © 1996 Blizzard Entertainment, Inc. All rights reserved. Diablo and Blizzard Entertainment are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries.
Devilution and any of its maintainers are in no way associated with or endorsed by Blizzard Entertainment®. DevilutionX and any of its maintainers are in no way associated with or endorsed by Blizzard Entertainment®.

2
Source/palette.cpp

@ -156,7 +156,7 @@ void SetFadeLevel(DWORD fadeval)
{ {
int i; int i;
for (i = 0; i < 256; i++) { for (i = 0; i < 256; i++) { // BUGFIX: should be 256 (fixed)
system_palette[i].r = (fadeval * logical_palette[i].r) >> 8; system_palette[i].r = (fadeval * logical_palette[i].r) >> 8;
system_palette[i].g = (fadeval * logical_palette[i].g) >> 8; system_palette[i].g = (fadeval * logical_palette[i].g) >> 8;
system_palette[i].b = (fadeval * logical_palette[i].b) >> 8; system_palette[i].b = (fadeval * logical_palette[i].b) >> 8;

Loading…
Cancel
Save