v0.3.5a: fixed an equipped boomerang removing items from quickslots when thrown

This commit is contained in:
Evan Debenham 2016-05-06 18:19:12 -04:00
parent deec9d2984
commit 90db5b8c1f

View File

@ -119,6 +119,7 @@ public class Boomerang extends MissileWeapon {
@Override @Override
public void cast( Hero user, int dst ) { public void cast( Hero user, int dst ) {
throwEquiped = isEquipped( user ); throwEquiped = isEquipped( user );
if (throwEquiped) Dungeon.quickslot.convertToPlaceholder(this);
super.cast( user, dst ); super.cast( user, dst );
} }