v0.2.3e: tonnes of fixes relating to WIP multi-quickslot implementation

This commit is contained in:
Evan Debenham
2015-01-20 00:56:36 -05:00
parent e53c6b678f
commit 6e3c2223cd
13 changed files with 66 additions and 36 deletions
@@ -395,7 +395,7 @@ public class WndBag extends WndTabbed {
protected boolean onLongClick() {
if (listener == null && item.defaultAction != null) {
hide();
Dungeon.hero.belongings.quickslot.setSlot( 0 , item );
Dungeon.quickslot.setSlot( 0 , item );
QuickSlot.refresh();
return true;
} else {
@@ -248,8 +248,8 @@ public class WndRanking extends WndTabbed {
}
//TODO: add proper visual support for mutli-quickslots
if (stuff.quickslot.getItem(0) != null){
addItem( stuff.quickslot.getItem(0) );
if (Dungeon.quickslot.getItem(0) != null){
addItem( Dungeon.quickslot.getItem(0) );
}
}