OSDN Git Service

update_lite()の先頭の光源半径0の時の特殊処理そのものが不要。
authormogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 10 Jun 2003 13:17:48 +0000 (13:17 +0000)
committermogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 10 Jun 2003 13:17:48 +0000 (13:17 +0000)
src/cave.c

index eb4da54..84fb1bf 100644 (file)
@@ -2864,6 +2864,7 @@ void update_lite(void)
 
        /*** Special case ***/
 
+#if 0
        /* Hack -- Player has no lite */
        if (p <= 0)
        {
@@ -2873,7 +2874,7 @@ void update_lite(void)
                /* Draw the player */
                lite_spot(py, px);
        }
-
+#endif
 
        /*** Save the old "lite" grids for later ***/