mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-09-22 23:18:01 +03:00
Merge pull request #238 from kichikuou/mg-rance7-text
Fix overlapping text issue in MangaGamer Sengoku Rance
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "sact.h"
|
||||
#include "gfx/gfx.h"
|
||||
#include "gfx/font.h"
|
||||
#include "xsystem4.h"
|
||||
#include "system4/string.h"
|
||||
|
||||
// Get texture for source sprite
|
||||
@@ -165,6 +166,10 @@ static void DrawGraph_FillAlphaColor(int dst, int x, int y, int w, int h, int r,
|
||||
static void DrawGraph_FillAMap(int dst, int x, int y, int w, int h, int alpha)
|
||||
{
|
||||
gfx_fill_amap(DTEX(dst), x, y, w, h, alpha);
|
||||
if (game_rance7_mg) {
|
||||
// Short-term fix for https://github.com/nunuhara/xsystem4/issues/237
|
||||
sprite_text_clear(sact_get_sprite(dst));
|
||||
}
|
||||
}
|
||||
|
||||
static void DrawGraph_FillAMapOverBorder(int dst, int x, int y, int w, int h, int alpha, int border)
|
||||
|
||||
Reference in New Issue
Block a user