stone of agony folly the interface too.

This commit is contained in:
Baoulettes 2022-05-02 02:22:29 +02:00 committed by GitHub
parent 6457571b47
commit 10a6568e82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10283,7 +10283,15 @@ void func_80848EF8(Player* this, GlobalContext* globalCtx) {
int rectTop = 60; //Top Y Pos
int rectWidth = 24; //Texture Width
int rectHeight = 24; //Texture Heigh
int DefaultIconA= 50; //Default icon alphe (55 on 255)
int DefaultIconA= 50; //Default icon alpha (55 on 255)
if (CVar_GetS32("gHUDMargins", 0) != 0) {
rectLeft = OTRGetRectDimensionFromLeftEdge(26+(CVar_GetS32("gHUDMargin_L", 0)*-1));
rectTop = 60+(CVar_GetS32("gHUDMargin_T", 0)*-1);
} else {
rectTop = 60;
rectLeft = OTRGetRectDimensionFromLeftEdge(26);
}
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_player.c", 2824);
gDPPipeSync(OVERLAY_DISP++);