From ff7fdd28480e16ada7f24a121433505880d11ebb Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Mon, 3 May 2021 04:10:43 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Fix=20spellbook=20rendering=20cr?= =?UTF-8?q?ash=20in=20hellfire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes a bug introduced in #1796 Frame numbers are 1-based and there are 6, not 5 frames there. --- Source/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/control.cpp b/Source/control.cpp index 8409d3574..be845e881 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -806,7 +806,7 @@ void InitControlPan() pSpellBkCel = LoadCel("Data\\SpellBk.CEL", SPANEL_WIDTH); if (gbIsHellfire) { - static const int SBkBtnHellfireWidths[] = { 61, 61, 61, 61, 76 }; + static const int SBkBtnHellfireWidths[] = { 0, 61, 61, 61, 61, 61, 76 }; pSBkBtnCel = LoadCel("Data\\SpellBkB.CEL", SBkBtnHellfireWidths); } else { pSBkBtnCel = LoadCel("Data\\SpellBkB.CEL", 76);