mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
Fix rendering double digit key count (#6371)
This commit is contained in:
parent
9f6ffc9f2a
commit
6a9567b369
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue