From e6b4e8168b420d1b3cbd862c9b92933a69dc61f3 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Mon, 28 Sep 2020 08:06:36 +0200 Subject: [PATCH 1/2] Bug: Not all colors are faded --- Source/palette.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/palette.cpp b/Source/palette.cpp index 8f1637a00..a70c606bc 100644 --- a/Source/palette.cpp +++ b/Source/palette.cpp @@ -205,7 +205,7 @@ static void SetFadeLevel(DWORD fadeval) int i; if (lpDDInterface) { - for (i = 0; i < 255; i++) { + for (i = 0; i < 255; i++) { // BUGFIX: should be 256 system_palette[i].peRed = (fadeval * logical_palette[i].peRed) >> 8; system_palette[i].peGreen = (fadeval * logical_palette[i].peGreen) >> 8; system_palette[i].peBlue = (fadeval * logical_palette[i].peBlue) >> 8; From 36f8d0f57084848252387b16bd3366c723cf8233 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Tue, 29 Sep 2020 23:34:38 +0200 Subject: [PATCH 2/2] Add note about the the non-commerical nature of the project --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3e8d318dc..9108077ff 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,8 @@ And a special thanks to all the support and people who work on this project to m # Legal Devilution is released to the Public Domain. The documentation and function provided by Devilution 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. + Battle.net(R) - Copyright (C) 1996 Blizzard Entertainment, Inc. All rights reserved. Battle.net and Blizzard Entertainment are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries. Diablo(R) - Copyright (C) 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.