変愚蛮怒のメインリポジトリです
Revision | 30826854a9455672a4524f202e3b27e4caa2542e (tree) |
---|---|
Time | 2002-07-20 20:47:06 |
Author | mogami <mogami@0568...> |
Commiter | mogami |
ランダムテレポートの{.}を自動刻みしてくれなくなっていたので修正。
@@ -1659,10 +1659,14 @@ s16b inscribe_flags(object_type *o_ptr, cptr out_val) | ||
1659 | 1659 | |
1660 | 1660 | if (o_ptr->name2) |
1661 | 1661 | { |
1662 | + bool teleport = have_flag(flgs, TR_TELEPORT); | |
1662 | 1663 | ego_item_type *e_ptr = &e_info[o_ptr->name2]; |
1663 | 1664 | |
1664 | 1665 | for (j = 0; j < TR_FLAG_SIZE; j++) |
1665 | 1666 | flgs[j] &= ~e_ptr->flags[j]; |
1667 | + | |
1668 | + /* Always inscribe {.} for random teleport */ | |
1669 | + if (teleport) add_flag(flgs, TR_TELEPORT); | |
1666 | 1670 | } |
1667 | 1671 | } |
1668 | 1672 |