OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5747d7e
)
Weird Weapon should be enchanted only to TV_SWORD
author
dis-
<dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 20 May 2013 11:49:36 +0000
(11:49 +0000)
committer
dis-
<dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 20 May 2013 11:49:36 +0000
(11:49 +0000)
src/object2.c
patch
|
blob
|
history
diff --git
a/src/object2.c
b/src/object2.c
index
725cf91
..
baa719f
100644
(file)
--- a/
src/object2.c
+++ b/
src/object2.c
@@
-2318,6
+2318,8
@@
static void a_m_aux_1(object_type *o_ptr, int level, int power)
continue;
if (o_ptr->name2 == EGO_EARTHQUAKES && o_ptr->tval != TV_HAFTED)
continue;
+ if (o_ptr->name2 == EGO_WEIRD && o_ptr->tval != TV_SWORD)
+ continue;
break;
}