From 4e67c4ac3f0c7a1acae3db1a532b339d2b3c0fa4 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 5 Jul 2015 14:07:59 +0200 Subject: [PATCH] do not remove new players for missing their first turn. --- conf/e2/config.xml | 2 +- src/laws.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/e2/config.xml b/conf/e2/config.xml index f99176432..2fcaad800 100644 --- a/conf/e2/config.xml +++ b/conf/e2/config.xml @@ -89,7 +89,7 @@ - + diff --git a/src/laws.c b/src/laws.c index 13e486c2c..fe201670c 100755 --- a/src/laws.c +++ b/src/laws.c @@ -113,7 +113,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. /* - exported global symbols ----------------------------------- */ -static int RemoveNMRNewbie(void) +static bool RemoveNMRNewbie(void) { static int value = -1; static int gamecookie = -1; @@ -122,7 +122,7 @@ static int RemoveNMRNewbie(void) value = get_param_int(global.parameters, "nmr.removenewbie", 0); gamecookie = global.cookie; } - return value; + return value!=0; } static void checkorders(void)