OSDN Git Service

2chのスレッド "ローグ系のRPG地下29階" の248氏のパッチを取り込み, タイ
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 5 Mar 2004 23:30:03 +0000 (23:30 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 5 Mar 2004 23:30:03 +0000 (23:30 +0000)
ルなしのbigtileモードで表示が崩れる場合があるバグを修正.

src/z-term.c

index f950470..8506947 100644 (file)
@@ -542,7 +542,8 @@ void Term_queue_char(int x, int y, byte a, char c, byte ta, char tc)
        if (x < Term->x1[y]) Term->x1[y] = x;
        if (x > Term->x2[y]) Term->x2[y] = x;
 
-       if ((scrn->a[y][x] & AF_BIGTILE2) == AF_BIGTILE2)
+       if (((scrn->a[y][x] & AF_BIGTILE2) == AF_BIGTILE2) ||
+           (scrn->a[y][x] & AF_KANJI2))
                if ((x - 1) < Term->x1[y]) Term->x1[y]--;
 }