|
@@ -683,7 +683,7 @@ PAL_BattleWon(
|
|
|
{ 5, gpGlobals->g.PlayerRoles.rgwName[4], TRUE, PAL_XY(0, 0) },
|
|
|
{ 6, gpGlobals->g.PlayerRoles.rgwName[5], TRUE, PAL_XY(0, 0) },
|
|
|
};
|
|
|
- int maxNameWidth = PAL_MenuTextMaxWidth(rgFakeMenuItem, sizeof(rgFakeMenuItem) / sizeof(MENUITEM)) - 1;
|
|
|
+ int maxNameWidth = PAL_MenuTextMaxWidth(rgFakeMenuItem, sizeof(rgFakeMenuItem) / sizeof(MENUITEM));
|
|
|
const MENUITEM rgFakeMenuItem2[] =
|
|
|
{
|
|
|
|
|
@@ -894,7 +894,7 @@ PAL_BattleWon(
|
|
|
wcscat(buffer, PAL_GetWord(BATTLEWIN_LEVELUP_LABEL)); \
|
|
|
PAL_CreateSingleLineBox(PAL_XY(offsetX+78, 60), maxNameWidth+maxPropertyWidth+PAL_TextWidth(PAL_GetWord(BATTLEWIN_LEVELUP_LABEL))/32+4, FALSE); \
|
|
|
PAL_DrawText(buffer, PAL_XY(offsetX+90, 70), 0, FALSE, FALSE, FALSE); \
|
|
|
- PAL_DrawNumber(gpGlobals->g.PlayerRoles.statname[w] - OrigPlayerRoles.statname[w], 5, PAL_XY(183+(maxNameWidth+maxPropertyWidth-3)*4, 74), kNumColorYellow, kNumAlignRight); \
|
|
|
+ PAL_DrawNumber(gpGlobals->g.PlayerRoles.statname[w] - OrigPlayerRoles.statname[w], 5, PAL_XY(183+(maxNameWidth+maxPropertyWidth-3)*8, 74), kNumColorYellow, kNumAlignRight); \
|
|
|
VIDEO_UpdateScreen(&rect); \
|
|
|
PAL_WaitForKey(3000); \
|
|
|
} \
|