From ca93066fa371fe20418dc1de54f419dfcb74c464 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Wed, 10 Feb 2010 05:09:24 +0100 Subject: [PATCH] time_in_byoyomi(): Drop ti->period == TT_MOVE requirement, unnecessary --- timeinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timeinfo.c b/timeinfo.c index 2a9eec7..ef4e1d6 100644 --- a/timeinfo.c +++ b/timeinfo.c @@ -96,7 +96,7 @@ time_left(struct time_info *ti, int time_left, int stones_left) * per move). */ bool time_in_byoyomi(struct time_info *ti) { - assert(ti->dim == TD_WALLTIME && ti->period == TT_MOVE); + assert(ti->dim == TD_WALLTIME); if (!ti->len.t.byoyomi_time) return false; // there is no byoyomi! if (!ti->len.t.main_time) -- 2.11.4.GIT