summaryrefslogtreecommitdiffstats
path: root/phantasia/fight.c
diff options
context:
space:
mode:
authorjdc <jdc@NetBSD.org>2000-04-27 00:30:51 +0000
committerjdc <jdc@NetBSD.org>2000-04-27 00:30:51 +0000
commit30464b25f701aebd11d60ff475fa253adfc205c6 (patch)
tree2641b799ec229541a98a8ae04d6ee33ddbb24b59 /phantasia/fight.c
parente7e0e448dea08bf6ed489b1bf62e287896dabc4e (diff)
downloadbsdgames-darwin-30464b25f701aebd11d60ff475fa253adfc205c6.tar.gz
bsdgames-darwin-30464b25f701aebd11d60ff475fa253adfc205c6.tar.zst
bsdgames-darwin-30464b25f701aebd11d60ff475fa253adfc205c6.zip
Fix arguments to *printw().
Diffstat (limited to 'phantasia/fight.c')
-rw-r--r--phantasia/fight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/phantasia/fight.c b/phantasia/fight.c
index e69a5374..0ce0c739 100644
--- a/phantasia/fight.c
+++ b/phantasia/fight.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fight.c,v 1.6 2000/03/30 11:01:13 jdolecek Exp $ */
+/* $NetBSD: fight.c,v 1.7 2000/04/27 00:30:53 jdc Exp $ */
/*
* fight.c Phantasia monster fighting routines
@@ -396,7 +396,7 @@ monsthits()
/* takes some of the player's strength */
inflict = ROLL(1.0, (Circle - 1.0) / 2.0);
inflict = MIN(Player.p_strength, inflict);
- mvprintw(Lines++, 0, "%s sapped %0.f of your strength!",
+ mvprintw(Lines++, 0, "%s sapped %.0f of your strength!",
Enemyname, inflict);
Player.p_strength -= inflict;
Player.p_might -= inflict;