v0.2.3e: tonnes of fixes relating to WIP multi-quickslot implementation
This commit is contained in:
@@ -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) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user