OSDN Git Service

セーブした後に再ロードされる過程でモンスターの距離情報が0になってお
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 11 Jul 2003 13:50:17 +0000 (13:50 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 11 Jul 2003 13:50:17 +0000 (13:50 +0000)
り, 睡眠の計算の際に0除算で変愚蛮怒が落ちていたバグを修正.

src/files.c

index 891e9be..8ed1722 100644 (file)
@@ -5932,6 +5932,11 @@ prt("
        (void)strcpy(p_ptr->died_from, "(alive and well)");
 #endif
 
+       /* Update some things */
+       p_ptr->update |= (PU_VIEW | PU_LITE | PU_MON_LITE | PU_DISTANCE);
+
+       /* Update stuff */
+       update_stuff();
 }