summaryrefslogtreecommitdiffstats
path: root/phantasia/misc.c
diff options
context:
space:
mode:
authorveego <veego@NetBSD.org>1998-08-30 09:19:36 +0000
committerveego <veego@NetBSD.org>1998-08-30 09:19:36 +0000
commit5a555a984855e94b0fc3c9154da6b65208ba2c70 (patch)
tree285ed9cc28655053e6f1520670b43ae864d0c264 /phantasia/misc.c
parentc4c1ed4f214d1b50a09d0c42fa9c741ac18fb482 (diff)
downloadbsdgames-darwin-5a555a984855e94b0fc3c9154da6b65208ba2c70.tar.gz
bsdgames-darwin-5a555a984855e94b0fc3c9154da6b65208ba2c70.tar.zst
bsdgames-darwin-5a555a984855e94b0fc3c9154da6b65208ba2c70.zip
Add braces to make the new egcs happy.
Diffstat (limited to 'phantasia/misc.c')
-rw-r--r--phantasia/misc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/phantasia/misc.c b/phantasia/misc.c
index f741d7f1..4b5dc0f4 100644
--- a/phantasia/misc.c
+++ b/phantasia/misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.3 1997/10/13 02:18:30 lukem Exp $ */
+/* $NetBSD: misc.c,v 1.4 1998/08/30 09:19:39 veego Exp $ */
/*
* misc.c Phantasia miscellaneous support routines
@@ -343,7 +343,7 @@ tradingpost()
printw("A blessing requires a %.0f gp donation. Still want one ? ", blessingcost);
ch = getanswer("NY", FALSE);
- if (ch == 'Y')
+ if (ch == 'Y') {
if (Player.p_gold < blessingcost)
++cheat;
else {
@@ -354,6 +354,7 @@ tradingpost()
else
Player.p_blessing = TRUE;
}
+ }
break;
}
break;