From 16b0fb4830ba4c01f28ea7f9f6f0bef0a8e257a0 Mon Sep 17 00:00:00 2001 From: Nunuhara Cabbage Date: Sun, 16 Aug 2020 08:59:01 -0700 Subject: [PATCH] Fix SACT2.SP_TextNewLine Y-increment should be relative to current position, not home position. --- src/sact_graphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sact_graphics.c b/src/sact_graphics.c index bf17c57..b3c0fdb 100644 --- a/src/sact_graphics.c +++ b/src/sact_graphics.c @@ -542,7 +542,7 @@ int sact_SP_TextNewLine(int sp_no, int size) { struct sact_sprite *sp = sact_get_sprite(sp_no); if (!sp) return 0; - sp->text.pos = POINT(sp->text.home.x, sp->text.home.y + size + sp->text.line_space); + sp->text.pos = POINT(sp->text.home.x, sp->text.pos.y + size + sp->text.line_space); return 1; }