mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-11 10:51:36 -10:00
items: add BUGFIX for PrintItemPower (#2241)
This commit is contained in:
1 parent
d68181fd91
commit
da7ea7b593
1 file changed
+1
-1
+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