OSDN Git Service

GF_ICE属性の攻撃に対し、目には目を等の反撃ダメージが発動しないバグを修正。
authorhabu <habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 5 Jan 2010 07:51:36 +0000 (07:51 +0000)
committerhabu <habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 5 Jan 2010 07:51:36 +0000 (07:51 +0000)
src/spells1.c

index 88f439d..291f638 100644 (file)
@@ -7348,7 +7348,7 @@ static bool project_p(int who, cptr who_name, int r, int y, int x, int dam, int
                        if (fuzzy) msg_print("You are hit by something sharp and cold!");
 #endif
 
-                       cold_dam(dam, killer, monspell);
+                       get_damage = cold_dam(dam, killer, monspell);
                        if (!CHECK_MULTISHADOW())
                        {
                                if (!p_ptr->resist_shard)