From 663d947b2aed2648d8c866b0482009b607387e08 Mon Sep 17 00:00:00 2001 From: Philipp Dreher Date: Fri, 6 Nov 2015 21:04:35 +0100 Subject: [PATCH] New behaviour in case of low skill during building Insufficient skill after hitting the next improvement stage is now handled by leaving the for-loop and skipping to after-build-processing. --- src/kernel/build.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kernel/build.c b/src/kernel/build.c index e38d76641..c81e610d7 100644 --- a/src/kernel/build.c +++ b/src/kernel/build.c @@ -522,7 +522,9 @@ int build(unit * u, const construction * ctype, int completed, int want) if (basesk < type->minskill) { if (made == 0) - return ELOWSKILL; /* not good enough to go on */ + return ELOWSKILL; + else + break; /* not good enough to go on */ } /* n = maximum buildable size */