Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit e6cea79

Browse files
authored
Merge pull request #207 from cortex-command-community/vector-getint-removal
Remove GetIntX and GetIntY
2 parents ac15bcb + ad576e2 commit e6cea79

File tree

3 files changed

+93
-105
lines changed

3 files changed

+93
-105
lines changed

Managers/FrameMan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ namespace RTE {
11361136

11371137
if (m_TextCentered[playerScreen]) { textPosY = (bufferOrScreenHeight / 2) - 52; }
11381138

1139-
int screenOcclusionOffsetX = g_SceneMan.GetScreenOcclusion(playerScreen).GetIntX();
1139+
int screenOcclusionOffsetX = g_SceneMan.GetScreenOcclusion(playerScreen).GetRoundIntX();
11401140
// If there's really no room to offset the text into, then don't
11411141
if (GetPlayerScreenWidth() <= GetResX() / 2) { screenOcclusionOffsetX = 0; }
11421142

0 commit comments

Comments
 (0)