From 5a555a984855e94b0fc3c9154da6b65208ba2c70 Mon Sep 17 00:00:00 2001 From: veego Date: Sun, 30 Aug 1998 09:19:36 +0000 Subject: Add braces to make the new egcs happy. --- phantasia/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'phantasia/main.c') diff --git a/phantasia/main.c b/phantasia/main.c index 3698b412..b571be74 100644 --- a/phantasia/main.c +++ b/phantasia/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.4 1997/10/13 02:18:27 lukem Exp $ */ +/* $NetBSD: main.c,v 1.5 1998/08/30 09:19:39 veego Exp $ */ /* * Phantasia 3.3.2 -- Interterminal fantasy game @@ -218,7 +218,7 @@ main(argc, argv) checkbattle(); /* check for player to player battle */ neatstuff(); /* gurus, medics, etc. */ - if (Player.p_status == S_CLOAKED) + if (Player.p_status == S_CLOAKED) { /* costs 3 mana per turn to be cloaked */ if (Player.p_mana > 3.0) Player.p_mana -= 3.0; @@ -228,6 +228,7 @@ main(argc, argv) Player.p_status = S_PLAYING; Changed = TRUE; } + } if (Player.p_status != S_PLAYING && Player.p_status != S_CLOAKED) /* change status back to S_PLAYING */ -- cgit v1.2.3-56-ge451