mirror of
https://github.com/diasurgical/devilution.git
synced 2026-06-20 05:46:12 +00:00
items: add BUGFIX for PrintItemPower (#2241)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user