File tree 1 file changed +8
-7
lines changed
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -517,14 +517,15 @@ public void die(Object cause) {
517
517
518
518
super .die ( cause );
519
519
520
- if (Dungeon .level .solid [pos ]){
521
- Heap h = Dungeon .level .heaps .get (pos );
522
- if (h != null ) {
523
- for (Item i : h .items ) {
524
- Dungeon .level .drop (i , pos + Dungeon .level .width ());
525
- }
526
- h .destroy ();
520
+ Heap h = Dungeon .level .heaps .get (CityBossLevel .throne );
521
+ if (h != null ) {
522
+ for (Item i : h .items ) {
523
+ Dungeon .level .drop (i , CityBossLevel .throne + Dungeon .level .width ());
527
524
}
525
+ h .destroy ();
526
+ }
527
+
528
+ if (Dungeon .level .solid [pos ]){
528
529
Dungeon .level .drop (new KingsCrown (), pos + Dungeon .level .width ()).sprite .drop (pos );
529
530
} else {
530
531
Dungeon .level .drop (new KingsCrown (), pos ).sprite .drop ();
You can’t perform that action at this time.
0 commit comments