v0.2.4: corrected error with falling items, in accordance with the changes to honeypots

This commit is contained in:
Evan Debenham 2015-02-17 01:34:03 -05:00
parent 577058d7ed
commit b8b4ddc7af

View File

@ -319,7 +319,7 @@ public class GameScene extends PixelScene {
} else if (item instanceof Plant.Seed) {
Dungeon.level.plant( (Plant.Seed)item, pos );
} else if (item instanceof Honeypot) {
(Honeypot)item.shatter( pos );
Dungeon.level.drop(((Honeypot) item).shatter(null, pos), pos);
} else {
Dungeon.level.drop( item, pos );
}