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