v0.2.3e: fixed a couple issues

This commit is contained in:
Evan Debenham 2015-01-21 20:06:28 -05:00
parent 97f6b2f67c
commit a6bd3aae84
3 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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() );