From d67057f4ec4461d1d24b428778af279547ee2497 Mon Sep 17 00:00:00 2001 From: xesf Date: Sat, 5 Aug 2023 21:45:42 +0100 Subject: [PATCH] gameplay: fixed issue with incorrect body displayed --- src/game/loop/hero.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/loop/hero.ts b/src/game/loop/hero.ts index 9ad8a06a..e60d888a 100644 --- a/src/game/loop/hero.ts +++ b/src/game/loop/hero.ts @@ -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]; }