Fix missing melee damage info
This commit is contained in:
parent
dcd450a9b7
commit
d435185e9e
|
@ -806,13 +806,13 @@ static bool characterSelectorWindowRenderStats()
|
||||||
// MELEE DAMAGE
|
// MELEE DAMAGE
|
||||||
y += vh;
|
y += vh;
|
||||||
|
|
||||||
str = statGetName(STAT_ARMOR_CLASS);
|
str = statGetName(STAT_MELEE_DAMAGE);
|
||||||
strcpy(text, str);
|
strcpy(text, str);
|
||||||
|
|
||||||
length = fontGetStringWidth(text);
|
length = fontGetStringWidth(text);
|
||||||
fontDrawText(gCharacterSelectorWindowBuffer + CS_WINDOW_WIDTH * y + CS_WINDOW_SECONDARY_STAT_MID_X - length, text, length, CS_WINDOW_WIDTH, _colorTable[992]);
|
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);
|
snprintf(text, sizeof(text), " %d", value);
|
||||||
|
|
||||||
length = fontGetStringWidth(text);
|
length = fontGetStringWidth(text);
|
||||||
|
|
Loading…
Reference in New Issue