From d435185e9eba1cc06307b1d2601935548f677f28 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Fri, 20 Jan 2023 14:12:03 +0300 Subject: [PATCH] Fix missing melee damage info --- src/character_selector.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/character_selector.cc b/src/character_selector.cc index 275a2d4..0a0bece 100644 --- a/src/character_selector.cc +++ b/src/character_selector.cc @@ -806,13 +806,13 @@ static bool characterSelectorWindowRenderStats() // MELEE DAMAGE y += vh; - str = statGetName(STAT_ARMOR_CLASS); + str = statGetName(STAT_MELEE_DAMAGE); strcpy(text, str); length = fontGetStringWidth(text); fontDrawText(gCharacterSelectorWindowBuffer + CS_WINDOW_WIDTH * y + CS_WINDOW_SECONDARY_STAT_MID_X - length, text, length, CS_WINDOW_WIDTH, _colorTable[992]); - value = critterGetStat(gDude, STAT_ARMOR_CLASS); + value = critterGetStat(gDude, STAT_MELEE_DAMAGE); snprintf(text, sizeof(text), " %d", value); length = fontGetStringWidth(text);