• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision30826854a9455672a4524f202e3b27e4caa2542e (tree)
Time2002-07-20 20:47:06
Authormogami <mogami@0568...>
Commitermogami

Log Message

ランダムテレポートの{.}を自動刻みしてくれなくなっていたので修正。

Change Summary

Incremental Difference

--- a/src/cmd3.c
+++ b/src/cmd3.c
@@ -1659,10 +1659,14 @@ s16b inscribe_flags(object_type *o_ptr, cptr out_val)
16591659
16601660 if (o_ptr->name2)
16611661 {
1662+ bool teleport = have_flag(flgs, TR_TELEPORT);
16621663 ego_item_type *e_ptr = &e_info[o_ptr->name2];
16631664
16641665 for (j = 0; j < TR_FLAG_SIZE; j++)
16651666 flgs[j] &= ~e_ptr->flags[j];
1667+
1668+ /* Always inscribe {.} for random teleport */
1669+ if (teleport) add_flag(flgs, TR_TELEPORT);
16661670 }
16671671 }
16681672
Show on old repository browser