+/* $NetBSD: setup.c,v 1.4 1995/04/24 12:26:06 cgd Exp $ */
+
/*
- * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1980, 1993
+ * The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*/
#ifndef lint
-static char sccsid[] = "@(#)setup.c 5.4 (Berkeley) 6/1/90";
+#if 0
+static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93";
+#else
+static char rcsid[] = "$NetBSD: setup.c,v 1.4 1995/04/24 12:26:06 cgd Exp $";
+#endif
#endif /* not lint */
# include "trek.h"
while (1)
{
r = getcodpar("What length game", Lentab);
- Game.length = (int) r->value;
+ Game.length = (long) r->value;
if (Game.length == 0)
{
if (restartgame())
break;
}
r = getcodpar("What skill game", Skitab);
- Game.skill = (int) r->value;
+ Game.skill = (long) r->value;
Game.tourn = 0;
getstrpar("Enter a password", Game.passwd, 14, 0);
if (sequal(Game.passwd, "tournament"))