Fix rendering double digit key count (#6371)
This commit is contained in:
@@ -4,9 +4,7 @@
|
||||
#include "textures/do_action_static/do_action_static.h"
|
||||
#include "textures/icon_item_static/icon_item_static.h"
|
||||
#include "soh_assets.h"
|
||||
#include "soh/Enhancements/randomizer/randomizer_entrance.h"
|
||||
|
||||
#include "libultraship/bridge.h"
|
||||
#include "soh/Enhancements/gameplaystats.h"
|
||||
#include "soh/Enhancements/custom-message/CustomMessageInterfaceAddon.h"
|
||||
#include "soh/Enhancements/cosmetics/cosmeticsTypes.h"
|
||||
@@ -5339,15 +5337,17 @@ void Interface_Draw(PlayState* play) {
|
||||
interfaceCtx->counterDigits[3] -= 10;
|
||||
}
|
||||
|
||||
svar3 = 16;
|
||||
if (interfaceCtx->counterDigits[2] != 0) {
|
||||
OVERLAY_DISP = Gfx_TextureI8(
|
||||
OVERLAY_DISP, ((u8*)((u8*)digitTextures[interfaceCtx->counterDigits[2]])), 8, 16,
|
||||
PosX_SKC + 8, PosY_SKC, 8, 16, 1 << 10, 1 << 10);
|
||||
PosX_SKC + 16, PosY_SKC, 8, 16, 1 << 10, 1 << 10);
|
||||
svar3 = 24;
|
||||
}
|
||||
|
||||
OVERLAY_DISP =
|
||||
Gfx_TextureI8(OVERLAY_DISP, ((u8*)digitTextures[interfaceCtx->counterDigits[3]]), 8, 16,
|
||||
PosX_SKC + 16, PosY_SKC, 8, 16, 1 << 10, 1 << 10);
|
||||
PosX_SKC + svar3, PosY_SKC, 8, 16, 1 << 10, 1 << 10);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user