SACT2.SP_TextNewLine: add line spacing

Add line spacing (set by SACT2.SP_SetTextLineSpace).
This commit is contained in:
Nunuhara Cabbage
2020-08-15 09:57:11 -07:00
parent 76f7e21c95
commit c621535b2f
+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.pos = POINT(sp->text.home.x, sp->text.home.y + size + sp->text.line_space);
return 1;
}