From 47f5be8340f934e7cce3ffe40cce6f77a2496031 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Fri, 20 Jan 2023 14:16:43 +0300 Subject: [PATCH] Fix HP being used as AP --- src/combat.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/combat.cc b/src/combat.cc index 2daecf6..f7aafaf 100644 --- a/src/combat.cc +++ b/src/combat.cc @@ -2803,7 +2803,7 @@ static void _combat_over() interfaceGetItemActions(&leftItemAction, &rightItemAction); interfaceUpdateItems(true, leftItemAction, rightItemAction); - gDude->data.critter.combat.ap = critterGetStat(gDude, STAT_MAXIMUM_HIT_POINTS); + gDude->data.critter.combat.ap = critterGetStat(gDude, STAT_MAXIMUM_ACTION_POINTS); interfaceRenderActionPoints(0, 0);