diff options
author | billf <billf@FreeBSD.org> | 1999-09-07 06:00:03 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-09-07 06:00:03 +0000 |
commit | 3e1d9f25c8a992fb915d18ffaccb3a266e8ad0a4 (patch) | |
tree | a392a79dd376bd7e8273e85fac9e7af604437b66 /games/battlestar | |
parent | 33adb981d4021526b69c31fe25c2fc524378289f (diff) | |
download | FreeBSD-src-3e1d9f25c8a992fb915d18ffaccb3a266e8ad0a4.zip FreeBSD-src-3e1d9f25c8a992fb915d18ffaccb3a266e8ad0a4.tar.gz |
Avoid ambigious if() if() else().
Diffstat (limited to 'games/battlestar')
-rw-r--r-- | games/battlestar/com5.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/games/battlestar/com5.c b/games/battlestar/com5.c index 7d41bb0..d53bcab 100644 --- a/games/battlestar/com5.c +++ b/games/battlestar/com5.c @@ -82,7 +82,7 @@ love() while (wordtype[++wordnumber] != NOUNS && wordnumber <= wordcount); if (wordtype[wordnumber] == NOUNS && testbit(location[position].objects,wordvalue[wordnumber])){ - if (wordvalue[wordnumber] == NORMGOD && !loved) + if (wordvalue[wordnumber] == NORMGOD && !loved) { if (godready >= 2){ puts("She cuddles up to you, and her mouth starts to work:\n'That was my sister's amulet. The lovely goddess, Purl, was she. The Empire\ncaptured her just after the Darkness came. My other sister, Vert, was killed\nby the Dark Lord himself. He took her amulet and warped its power.\nYour quest was foretold by my father before he died, but to get the Dark Lord's\namulet you must use cunning and skill. I will leave you my amulet."); puts("which you may use as you wish. As for me, I am the last goddess of the\nwaters. My father was the Island King, and the rule is rightfully mine.'\n\nShe pulls the throne out into a large bed."); @@ -107,6 +107,7 @@ love() puts("You wish!"); return; } + } if (wordvalue[wordnumber] == NATIVE){ puts("The girl is easy prey. She peels off her sarong and indulges you."); power++; |