do not remove new players for missing their first turn.

This commit is contained in:
Enno Rehling 2015-07-05 14:07:59 +02:00
parent 3074a6077d
commit 4e67c4ac3f
2 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@
<param name="entertain.base" value="0"/> <param name="entertain.base" value="0"/>
<param name="entertain.perlevel" value="20"/> <param name="entertain.perlevel" value="20"/>
<param name="nmr.timeout" value="5"/> <param name="nmr.timeout" value="5"/>
<param name="nmr.removenewbie" value="10"/> <param name="nmr.removenewbie" value="0"/>
<param name="GiveRestriction" value="3"/> <param name="GiveRestriction" value="3"/>
<param name="hunger.long" value="1"/> <param name="hunger.long" value="1"/>
<param name="init_spells" value="0"/> <param name="init_spells" value="0"/>

View File

@ -113,7 +113,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* - exported global symbols ----------------------------------- */ /* - exported global symbols ----------------------------------- */
static int RemoveNMRNewbie(void) static bool RemoveNMRNewbie(void)
{ {
static int value = -1; static int value = -1;
static int gamecookie = -1; static int gamecookie = -1;
@ -122,7 +122,7 @@ static int RemoveNMRNewbie(void)
value = get_param_int(global.parameters, "nmr.removenewbie", 0); value = get_param_int(global.parameters, "nmr.removenewbie", 0);
gamecookie = global.cookie; gamecookie = global.cookie;
} }
return value; return value!=0;
} }
static void checkorders(void) static void checkorders(void)