diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2006-10-29 20:02:42 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2006-10-29 20:02:42 +0000 |
commit | d50e99f27bc8e257e59791e2435b9d6a125e2d6c (patch) | |
tree | a4c2c353b80b590d0bc61735dddacd533f92f43b /games/backgammon/common_source/init.c | |
parent | 330b3937ebd1d638af23cf2c9cf4871e1a15eae3 (diff) |
-d: make it possible playing without doubling as it is not commonly
played everywhere in the world
ok todd@ otto@
Diffstat (limited to 'games/backgammon/common_source/init.c')
-rw-r--r-- | games/backgammon/common_source/init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/games/backgammon/common_source/init.c b/games/backgammon/common_source/init.c index 81b280715b9..ab50537eef5 100644 --- a/games/backgammon/common_source/init.c +++ b/games/backgammon/common_source/init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init.c,v 1.7 2003/06/03 03:01:38 millert Exp $ */ +/* $OpenBSD: init.c,v 1.8 2006/10/29 20:02:41 martin Exp $ */ /* * Copyright (c) 1980, 1993 @@ -33,7 +33,7 @@ #if 0 static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: init.c,v 1.7 2003/06/03 03:01:38 millert Exp $"; +static char rcsid[] = "$OpenBSD: init.c,v 1.8 2006/10/29 20:02:41 martin Exp $"; #endif #endif /* not lint */ @@ -64,6 +64,7 @@ int mflag = 0; /* backgammon flag */ int raflag = 0; /* 'roll again' flag for recovered game */ int rflag = 0; /* recovered game flag */ int iroll = 0; /* special flag for inputting rolls */ +int dflag = 1; /* doubling enabled */ int rfl = 0; const char *const color[] = {"White", "Red", "white", "red"}; |