v0.2.3e: fixed a couple issues
This commit is contained in:
parent
97f6b2f67c
commit
a6bd3aae84
|
@ -35,6 +35,7 @@ import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.TimekeepersHourg
|
|||
import com.shatteredpixel.shatteredpixeldungeon.items.rings.RingOfAccuracy;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.rings.RingOfWealth;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.levels.Level;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.levels.Level.Feeling;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.CharSprite;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
|
||||
import com.watabou.utils.Bundle;
|
||||
|
|
|
@ -58,7 +58,7 @@ public class QuickSlotButton extends Button implements WndBag.Listener {
|
|||
public void destroy() {
|
||||
super.destroy();
|
||||
|
||||
instance = null;
|
||||
instance = new QuickSlotButton[4];
|
||||
|
||||
lastItem = null;
|
||||
lastTarget = null;
|
||||
|
|
|
@ -173,7 +173,7 @@ public class WndSettings extends Window {
|
|||
}
|
||||
};
|
||||
btnQuickSlot.setRect( 0, btnBrightness.bottom() + GAP, WIDTH, BTN_HEIGHT );
|
||||
btnQuickSlot.checked( ShatteredPixelDungeon.quickSlots() == 1 );
|
||||
btnQuickSlot.checked( ShatteredPixelDungeon.quickSlots() == 2 );
|
||||
add( btnQuickSlot );
|
||||
|
||||
resize( WIDTH, (int)btnQuickSlot.bottom() );
|
||||
|
|
Loading…
Reference in New Issue
Block a user