OSDN Git Service

[Fix] #41299 has_esp_nonliving()の判定基準が TR_ESP_GOOD になっていた不具合を修正. / Fixed a bug that...
authordeskull <deskull@users.sourceforge.jp>
Wed, 20 Jan 2021 23:25:32 +0000 (08:25 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Wed, 20 Jan 2021 23:25:32 +0000 (08:25 +0900)
src/player/player-status-flags.c

index da2164e..331ca6a 100644 (file)
@@ -255,7 +255,7 @@ BIT_FLAGS has_esp_good(player_type *creature_ptr)
  */
 BIT_FLAGS has_esp_nonliving(player_type *creature_ptr)
 {
-    return check_equipment_flags(creature_ptr, TR_ESP_GOOD);
+    return check_equipment_flags(creature_ptr, TR_ESP_NONLIVING);
 }
 
 /*!