v0.3.5: big consistency pass on how items handle execution

This commit is contained in:
Evan Debenham
2016-04-19 19:34:08 -04:00
parent a571dc7f02
commit e715e147ff
36 changed files with 163 additions and 151 deletions
@@ -60,15 +60,14 @@ public class Weightstone extends Item {
@Override
public void execute( Hero hero, String action ) {
if (action == AC_APPLY) {
super.execute( hero, action );
if (action.equals(AC_APPLY)) {
curUser = hero;
GameScene.selectItem( itemSelector, WndBag.Mode.WEAPON, Messages.get(this, "select") );
} else {
super.execute( hero, action );
}
}