Fix SACT2.SP_TextNewLine

Y-increment should be relative to current position, not home position.
This commit is contained in:
Nunuhara Cabbage
2020-08-16 09:01:08 -07:00
parent 45ebe96220
commit 16b0fb4830
+1 -1
View File
@@ -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;
}