From da7ea7b593e57cee9d80d2ee13717543a727a6ba Mon Sep 17 00:00:00 2001 From: Robin Date: Thu, 5 Aug 2021 01:45:40 +0200 Subject: [PATCH] items: add BUGFIX for PrintItemPower (#2241) --- Source/items.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/items.cpp b/Source/items.cpp index e4fb52c8a..503fef273 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -4020,7 +4020,7 @@ void PrintItemPower(char plidx, ItemStruct *x) #else if (x->_iSplLvlAdd == 2) strcpy(tempstr, "spells are increased 2 levels"); - if (x->_iSplLvlAdd < 1) + if (x->_iSplLvlAdd < 1) // BUGFIX: should be `x->_iSplLvlAdd == -1`, not `x->_iSplLvlAdd < 1`. #endif strcpy(tempstr, "spells are decreased 1 level"); #ifdef HELLFIRE