From 0c5056102773ba23e89c985e185f895b7877e839 Mon Sep 17 00:00:00 2001 From: jsm Date: Sun, 17 Sep 2000 23:04:17 +0000 Subject: Clean up formatting; partly from OpenBSD. --- battlestar/com1.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'battlestar/com1.c') diff --git a/battlestar/com1.c b/battlestar/com1.c index 0e3f474e..b3e4f6ff 100644 --- a/battlestar/com1.c +++ b/battlestar/com1.c @@ -1,4 +1,4 @@ -/* $NetBSD: com1.c,v 1.11 2000/09/08 17:25:31 jsm Exp $ */ +/* $NetBSD: com1.c,v 1.12 2000/09/17 23:04:17 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)com1.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: com1.c,v 1.11 2000/09/08 17:25:31 jsm Exp $"); +__RCSID("$NetBSD: com1.c,v 1.12 2000/09/17 23:04:17 jsm Exp $"); #endif #endif /* not lint */ @@ -51,7 +51,7 @@ moveplayer(thataway, token) wordnumber++; if ((!notes[CANTMOVE] && !notes[LAUNCHED]) || testbit(location[position].objects, LAND) || - (fuel > 0 && notes[LAUNCHED])) + (fuel > 0 && notes[LAUNCHED])) { if (thataway) { position = thataway; newway(token); @@ -62,11 +62,12 @@ moveplayer(thataway, token) whichway(location[position]); return (0); } - else + } else { if (notes[CANTMOVE] && !notes[LAUNCHED]) puts("You aren't able to move; you better drop something."); else puts("You are out of fuel; now you will rot in space forever!"); + } return (1); } -- cgit v1.2.3