summaryrefslogtreecommitdiffstats
path: root/games/battlestar/com4.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 03:37:36 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 03:37:36 +0000
commit30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (patch)
tree4d8ac7e75ac179a918a76def244de6e3f3314e76 /games/battlestar/com4.c
parent188803394908f222ab3ed8ec32331eb6dd00fd2d (diff)
downloadFreeBSD-src-30ef9631c5eac7f8254bd3d7ad274d34d9f518b8.zip
FreeBSD-src-30ef9631c5eac7f8254bd3d7ad274d34d9f518b8.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'games/battlestar/com4.c')
-rw-r--r--games/battlestar/com4.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/battlestar/com4.c b/games/battlestar/com4.c
index 016b648..fe1d96b 100644
--- a/games/battlestar/com4.c
+++ b/games/battlestar/com4.c
@@ -88,7 +88,7 @@ unsigned int from[];
if (wordnumber <= wordcount && wordtype[wordnumber] == NOUNS)
switch(wordvalue[wordnumber]){
-
+
case SWORD:
if (testbit(from, SWORD)){
wordtype[wordnumber--] = OBJECT;
@@ -169,7 +169,7 @@ unsigned int from[];
clearbit(location[position].objects,BATHGOD);
} else if (!testbit(location[position].objects,BATHGOD))
puts("You're in no position to take her.");
- else
+ else
puts("She moves away from you.");
break;
@@ -191,7 +191,7 @@ throw(name)
first = wordnumber;
if (drop(name) != -1){
switch(wordvalue[wordnumber]){
-
+
case AHEAD:
deposit = ahead;
break;
@@ -253,7 +253,7 @@ throw(name)
}
if (wordnumber < wordcount - 1 && wordvalue[++wordnumber] == AND)
wordnumber++;
- else
+ else
return(first);
}
return(first);
@@ -264,7 +264,7 @@ throw(name)
drop(name)
char *name;
{
-
+
int firstnumber, value;
firstnumber = wordnumber;
@@ -333,7 +333,7 @@ eat()
while(wordnumber <= wordcount){
value = wordvalue[wordnumber];
switch(value){
-
+
case -1:
puts("Eat what?");
return(firstnumber);
@@ -371,7 +371,7 @@ eat()
printf("You aren't holding the %s.\n", objsht[value]);
if (wordnumber < wordcount - 1 && wordvalue[++wordnumber] == AND)
wordnumber++;
- else
+ else
return(firstnumber);
} /* end switch */
} /* end while */
OpenPOWER on IntegriCloud