From 2871e74a686f3d2f664385204ee8a6b69f24bb55 Mon Sep 17 00:00:00 2001 From: Bubble <34066581+Bubble791@users.noreply.github.com> Date: Fri, 4 Apr 2025 22:11:54 +0800 Subject: [PATCH] Update battle_message.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除战斗文本对空格字符的检查 --- src/battle_message.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/battle_message.c b/src/battle_message.c index 995f7756c6..afac87d479 100644 --- a/src/battle_message.c +++ b/src/battle_message.c @@ -3142,10 +3142,7 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize) { while (*toCpy != EOS) { - if (*toCpy == CHAR_SPACE) - dst[dstID] = CHAR_NBSP; - else - dst[dstID] = *toCpy; + dst[dstID] = *toCpy; dstID++; toCpy++; }