From 2dbc322db8345da64db1651db44b4eb016def282 Mon Sep 17 00:00:00 2001 From: Nunuhara Cabbage Date: Mon, 9 Jan 2023 17:26:22 -0800 Subject: [PATCH] Fix text layout bug in SengokuRanceFont Fix text layout bug when message setting isn't "No Wait". --- src/hll/SengokuRanceFont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hll/SengokuRanceFont.c b/src/hll/SengokuRanceFont.c index c0e3620..71dd02b 100644 --- a/src/hll/SengokuRanceFont.c +++ b/src/hll/SengokuRanceFont.c @@ -343,7 +343,7 @@ static float sp_text_draw(struct sact_sprite *sp, struct sr_text_properties *tp, tp->last_char = last_char; sprite_dirty(sp); - return x + gfx_render_text(tex, x ,y, text->text, &tp->ts); + return gfx_render_text(tex, x ,y, text->text, &tp->ts); } static void SengokuRanceFont_SP_TextDraw(int sp_no, struct string *text)