Skip to content

Commit

Permalink
fix bug with iCorpse items and iChar items for corpse panel
Browse files Browse the repository at this point in the history
  • Loading branch information
pairofdocs committed Jun 5, 2021
1 parent d5d2c6b commit 8670ca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gomule/src/gomule/d2s/D2Character.java
Original file line number Diff line number Diff line change
Expand Up @@ -1314,8 +1314,8 @@ public int getCorpseItemIndex(int panel, int x, int y){
}
}
}else if (panel >= 10){
for (int i = 0; i < iCharItems.size(); i++){
D2Item temp_item = (D2Item) iCharItems.get(i);
for (int i = 0; i < iCorpseItems.size(); i++){
D2Item temp_item = (D2Item) iCorpseItems.get(i);
if (temp_item.get_location() != 0 && temp_item.get_location() != 2){
if (temp_item.get_panel() == 0){
if (temp_item.get_body_position() == panel - 10){
Expand Down

0 comments on commit 8670ca6

Please sign in to comment.