From f51c7e78278a6951e2bcb65fcd54525b07648aca Mon Sep 17 00:00:00 2001 From: Habu Date: Sun, 10 Sep 2017 11:01:10 +0900 Subject: [PATCH] =?utf8?q?=E3=82=AF=E3=82=A8=E3=82=B9=E3=83=88=E9=81=94?= =?utf8?q?=E6=88=90=E6=99=82=E3=81=AE=E3=83=97=E3=83=AC=E3=82=A4=E6=99=82?= =?utf8?q?=E9=96=93=E3=81=8C=E5=90=8C=E3=81=98=E5=A0=B4=E5=90=88=E3=80=81?= =?utf8?q?=E3=82=AF=E3=82=A8=E3=82=B9=E3=83=88=E3=83=AC=E3=83=99=E3=83=AB?= =?utf8?q?=E3=81=A7=E3=82=BD=E3=83=BC=E3=83=88=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cmd4.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cmd4.c b/src/cmd4.c index eb8707c43..6e3d82a1a 100644 --- a/src/cmd4.c +++ b/src/cmd4.c @@ -8319,7 +8319,9 @@ bool ang_sort_comp_quest_num(vptr u, vptr v, int a, int b) /* Unused */ (void)v; - return (qa->comptime <= qb->comptime); + return (qa->comptime != qb->comptime) ? + (qa->comptime < qb->comptime) : + (qa->level <= qb->level); } void ang_sort_swap_quest_num(vptr u, vptr v, int a, int b) -- 2.11.0