v0.7.0: added a safety check to new wndbag functionality
This commit is contained in:
parent
6a5152ea20
commit
7c764141fe
|
@ -376,7 +376,7 @@ public class WndBag extends WndTabbed {
|
|||
bg.ra = +0.3f;
|
||||
bg.ga = -0.15f;
|
||||
} else if (!item.isIdentified()) {
|
||||
if (item.cursedKnown){
|
||||
if ((item instanceof EquipableItem || item instanceof Wand) && item.cursedKnown){
|
||||
bg.ba = 0.3f;
|
||||
} else {
|
||||
bg.ra = 0.3f;
|
||||
|
|
Loading…
Reference in New Issue
Block a user