mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-10-31 23:55:06 -04:00
Bug fixes
This commit is contained in:
parent
0232054c96
commit
0851fa8b40
@ -431,7 +431,6 @@ void HealthMeter_Draw(PlayState* play) {
|
|||||||
offsetX = OTRGetDimensionFromRightEdge(CVarGetInteger("gHeartsCountPosX", 0)+X_Margins+70.0f);
|
offsetX = OTRGetDimensionFromRightEdge(CVarGetInteger("gHeartsCountPosX", 0)+X_Margins+70.0f);
|
||||||
} else if (CVarGetInteger("gHeartsCountPosType", 0) == ANCHOR_NONE) {
|
} else if (CVarGetInteger("gHeartsCountPosType", 0) == ANCHOR_NONE) {
|
||||||
offsetX = CVarGetInteger("gHeartsCountPosX", 0)+70.0f;
|
offsetX = CVarGetInteger("gHeartsCountPosX", 0)+70.0f;
|
||||||
} else if (CVarGetInteger("gHeartsCountPosType", 0) == HIDDEN) {
|
|
||||||
} else if (CVarGetInteger("gHeartsCountPosType", 0) == HIDDEN) {
|
} else if (CVarGetInteger("gHeartsCountPosType", 0) == HIDDEN) {
|
||||||
offsetX = -9999;
|
offsetX = -9999;
|
||||||
}
|
}
|
||||||
|
@ -11092,7 +11092,7 @@ void func_80848EF8(Player* this, PlayState* play) {
|
|||||||
s16 PosY_VSOA_ori = 60 + Y_Margins_VSOA;
|
s16 PosY_VSOA_ori = 60 + Y_Margins_VSOA;
|
||||||
s16 PosX_VSOA;
|
s16 PosX_VSOA;
|
||||||
s16 PosY_VSOA;
|
s16 PosY_VSOA;
|
||||||
if (CVarGetInteger("gVSOAPosType", 0) != ANCHOR_NONE) {
|
if (CVarGetInteger("gVSOAPosType", 0) != ORIGINAL_LOCATION) {
|
||||||
PosY_VSOA = CVarGetInteger("gVSOAPosY", 0) + Y_Margins_VSOA;
|
PosY_VSOA = CVarGetInteger("gVSOAPosY", 0) + Y_Margins_VSOA;
|
||||||
if (CVarGetInteger("gVSOAPosType", 0) == ANCHOR_LEFT) {
|
if (CVarGetInteger("gVSOAPosType", 0) == ANCHOR_LEFT) {
|
||||||
if (CVarGetInteger("gVSOAUseMargins", 0) != 0) {
|
if (CVarGetInteger("gVSOAUseMargins", 0) != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user