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:
f9e0daf
)
Sort quest information by complete time instead of complete player level
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 23 Apr 2013 13:11:49 +0000
(13:11 +0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 23 Apr 2013 13:11:49 +0000
(13:11 +0000)
src/cmd4.c
patch
|
blob
|
history
diff --git
a/src/cmd4.c
b/src/cmd4.c
index
c7cdab0
..
dc529da
100644
(file)
--- a/
src/cmd4.c
+++ b/
src/cmd4.c
@@
-9584,10
+9584,7
@@
bool ang_sort_comp_quest_num(vptr u, vptr v, int a, int b)
/* Unused */
(void)v;
- if (qa->complev < qb->complev) return TRUE;
- if (qa->complev > qb->complev) return FALSE;
- if (qa->level <= qb->level) return TRUE;
- return FALSE;
+ return (qa->comptime <= qb->comptime);
}
void ang_sort_swap_quest_num(vptr u, vptr v, int a, int b)