OSDN Git Service

[Refactor] #39962 使われていない(*tombstone_aux)() を削除 / Removed unused pointer function...
authorHourier <hourier@users.sourceforge.jp>
Mon, 24 Feb 2020 00:52:57 +0000 (09:52 +0900)
committerHourier <hourier@users.sourceforge.jp>
Mon, 24 Feb 2020 00:52:57 +0000 (09:52 +0900)
src/view/process-death.c

index fcf6738..fc12af6 100644 (file)
@@ -32,12 +32,6 @@ static void center_string(char *buf, concptr str)
 }
 
 
-/*
- * Redefinable "print_tombstone" action
- */
-bool(*tombstone_aux)(void) = NULL;
-
-
 /*!
  * @brief 墓石のアスキーアート表示 /
  * Display a "tomb-stone"
@@ -46,14 +40,6 @@ bool(*tombstone_aux)(void) = NULL;
  */
 void print_tomb(player_type *dead_ptr)
 {
-       bool done = FALSE;
-       if (tombstone_aux)
-       {
-               done = (*tombstone_aux)();
-       }
-
-       if (done) return;
-
 #ifdef JP
        int extra_line = 0;
 #endif