Skip to content

Commit

Permalink
gameplay: fixed issue with incorrect body displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
xesf committed Aug 5, 2023
1 parent 17e0039 commit d67057f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/game/loop/hero.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ export function getBodyFromGameState(game: Game): number {
}

if (isLBA1) {
if (game.getState().flags.quest[LBA1Items.TUNIC]) {
return LBA1BodyType.TWINSEN_TUNIC_NO_MEDALLION;
}
return LBA1WeaponToBodyMapping[equippedItem];
}

Expand Down

0 comments on commit d67057f

Please sign in to comment.