OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Refactor] #37353 グローバル変数 dungeon_type を他の慣例に従い dungeon_idx に改名。 / Rename dungeon_typ...
[hengband/hengband.git]
/
src
/
quest.c
diff --git
a/src/quest.c
b/src/quest.c
index
e6d79c0
..
7590e17
100644
(file)
--- a/
src/quest.c
+++ b/
src/quest.c
@@
-394,7
+394,7
@@
QUEST_IDX quest_number(DEPTH level)
if ((quest[i].type == QUEST_TYPE_KILL_LEVEL) &&
!(quest[i].flags & QUEST_FLAG_PRESET) &&
(quest[i].level == level) &&
if ((quest[i].type == QUEST_TYPE_KILL_LEVEL) &&
!(quest[i].flags & QUEST_FLAG_PRESET) &&
(quest[i].level == level) &&
- (quest[i].dungeon == dungeon_
type
))
+ (quest[i].dungeon == dungeon_
idx
))
return (i);
}
return (i);
}
@@
-411,7
+411,7
@@
QUEST_IDX random_quest_number(DEPTH level)
{
QUEST_IDX i;
{
QUEST_IDX i;
- if (dungeon_
type
!= DUNGEON_ANGBAND) return 0;
+ if (dungeon_
idx
!= DUNGEON_ANGBAND) return 0;
for (i = MIN_RANDOM_QUEST; i < MAX_RANDOM_QUEST + 1; i++)
{
for (i = MIN_RANDOM_QUEST; i < MAX_RANDOM_QUEST + 1; i++)
{