mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-09-25 00:17:56 +03:00
StoatSpriteEngine: Clear cached font_size struct in SP_SetTextSpriteSize
This fixes text layout issue in Daiteikoku and Rance Quest.
This commit is contained in:
@@ -132,6 +132,8 @@ void StoatSpriteEngine_SP_SetTextSpriteType(int type)
|
||||
|
||||
void StoatSpriteEngine_SP_SetTextSpriteSize(int size)
|
||||
{
|
||||
if (text_sprite_ts.size != size)
|
||||
text_sprite_ts.font_size = NULL;
|
||||
text_sprite_ts.size = size;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user