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:
eb34198
)
[Fix] #37353 達成したはずのクエストが失敗扱いになる問題を解消 / Resolved the issue that quests fails even...
author
Hourier
<hourier@users.sourceforge.jp>
Tue, 28 Jan 2020 14:00:59 +0000
(23:00 +0900)
committer
Hourier
<hourier@users.sourceforge.jp>
Tue, 28 Jan 2020 14:00:59 +0000
(23:00 +0900)
src/quest.c
patch
|
blob
|
history
diff --git
a/src/quest.c
b/src/quest.c
index
662b3db
..
ae0b124
100644
(file)
--- a/
src/quest.c
+++ b/
src/quest.c
@@
-446,7
+446,7
@@
void leave_quest_check(player_type *player_ptr)
quest_type* const q_ptr = &quest[leaving_quest];
bool is_one_time_quest = ((q_ptr->flags & QUEST_FLAG_ONCE) || (q_ptr->type == QUEST_TYPE_RANDOM)) &&
(q_ptr->status == QUEST_STATUS_TAKEN);
- if (is_one_time_quest) return;
+ if (
!
is_one_time_quest) return;
q_ptr->status = QUEST_STATUS_FAILED;
q_ptr->complev = player_ptr->lev;