OSDN Git Service

Add Helm ego -- of Protection. Only has high AC
[hengband/hengband.git] / src / z-term.c
index ab8d46f..3be5ab0 100644 (file)
@@ -1607,11 +1607,17 @@ errr Term_fresh(void)
                        {
                                (void)((*Term->pict_hook)(tx, ty, 1, &old_aa[tx], &old_cc[tx], &ota, &otc));
                        }
-
-                       /* Hack -- restore the actual character */
-                       else if (old_aa[tx] || Term->always_text)
-                       {
-                               (void)((*Term->text_hook)(tx, ty, csize, (unsigned char) (old_aa[tx] & 0xf), &old_cc[tx]));
+                       
+                       /*
+                        * Hack -- restore the actual character
+                        * ¸µ¤Îʸ»ú¤ÎÉÁ²èÈϰϤ¬¥«¡¼¥½¥ë¤è¤ê¾®¤µ¤¤¤È¡¢
+                        * ¾å½ñ¤­¤µ¤ì¤Ê¤«¤Ã¤¿Éôʬ¤¬¥´¥ß¤È¤·¤Æ»Ä¤ë¡£
+                        * wipe_hook ¤Ç¥«¡¼¥½¥ë¤ò¾Ãµî¤·¤Æ text_hook ¤Ç½ñ¤­Ä¾¤¹¡£
+                        */
+                       else if (old_aa[tx] || Term->always_text)
+                       {
+                               (void)((*Term->wipe_hook)(tx, ty, 1));
+                               (void)((*Term->text_hook)(tx, ty, csize, (unsigned char) (old_aa[tx] & 0xf), &old_cc[tx]));
                        }
 
                        /* Hack -- erase the grid */