Update ingame_menu.c

This commit is contained in:
Colton G. Rushton 2021-02-12 23:35:49 -04:00 committed by GitHub
parent 6829dca65e
commit 3ffcef70d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -833,10 +833,9 @@ s16 get_str_x_pos_from_center_scale(s16 centerPos, u8 *str, f32 scale) {
f32 spacesWidth = 0.0f;
while (str[strPos] != DIALOG_CHAR_TERMINATOR) {
#ifdef VERSION_EU
#if defined(VERSION_EU) && !defined(QOL_FIXES)
//! EU checks for dakuten and handakuten despite dialog code unable to handle it
// fixed in QOL_FIXES
#ifndef QOL_FIXES
if (str[strPos] == DIALOG_CHAR_SPACE) {
spacesWidth += 1.0;
} else if (str[strPos] != DIALOG_CHAR_DAKUTEN
@ -844,7 +843,6 @@ s16 get_str_x_pos_from_center_scale(s16 centerPos, u8 *str, f32 scale) {
charsWidth += 1.0;
}
#endif
#endif
strPos++;
}
// return the x position of where the string starts as half the string's