OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a9a8c8
)
[Fix} 誰得の巻物で固定アーティファクトが生成されない
author
dis-
<dis.rogue@gmail.com>
Sun, 14 Nov 2021 05:42:22 +0000
(14:42 +0900)
committer
dis-
<dis.rogue@gmail.com>
Sun, 14 Nov 2021 05:42:22 +0000
(14:42 +0900)
アーティファクトID取得ループでID取得ができなくなっていた。
IDを取得するように修正。
src/spell/spells-object.cpp
patch
|
blob
|
history
diff --git
a/src/spell/spells-object.cpp
b/src/spell/spells-object.cpp
index
2c5e505
..
6603fde
100644
(file)
--- a/
src/spell/spells-object.cpp
+++ b/
src/spell/spells-object.cpp
@@
-131,6
+131,8
@@
void amusement(PlayerType *player_ptr, POSITION y1, POSITION x1, int num, bool k
continue;
if (a_ref.cur_num > 0)
continue;
+
+ a_idx = a_ref.idx;
break;
}