diff options
author | jdc <jdc@NetBSD.org> | 2000-04-27 00:30:51 +0000 |
---|---|---|
committer | jdc <jdc@NetBSD.org> | 2000-04-27 00:30:51 +0000 |
commit | 30464b25f701aebd11d60ff475fa253adfc205c6 (patch) | |
tree | 2641b799ec229541a98a8ae04d6ee33ddbb24b59 /phantasia | |
parent | e7e0e448dea08bf6ed489b1bf62e287896dabc4e (diff) | |
download | bsdgames-darwin-30464b25f701aebd11d60ff475fa253adfc205c6.tar.gz bsdgames-darwin-30464b25f701aebd11d60ff475fa253adfc205c6.tar.zst bsdgames-darwin-30464b25f701aebd11d60ff475fa253adfc205c6.zip |
Fix arguments to *printw().
Diffstat (limited to 'phantasia')
-rw-r--r-- | phantasia/fight.c | 4 | ||||
-rw-r--r-- | phantasia/misc.c | 4 |
2 files changed, 4 insertions, 4 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; diff --git a/phantasia/misc.c b/phantasia/misc.c index 098b5888..5be73cc5 100644 --- a/phantasia/misc.c +++ b/phantasia/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.6 1999/09/08 21:57:19 jsm Exp $ */ +/* $NetBSD: misc.c,v 1.7 2000/04/27 00:30:53 jdc Exp $ */ /* * misc.c Phantasia miscellaneous support routines @@ -426,7 +426,7 @@ allstatslist() mvprintw(13, 0, "Sin : %9.5f", Player.p_sin); mvprintw(14, 0, "Poison : %9.5f", Player.p_poison); mvprintw(15, 0, "Gems : %9.0f", Player.p_gems); - mvprintw(16, 0, "Age : %9d", Player.p_age); + mvprintw(16, 0, "Age : %9ld", Player.p_age); mvprintw(10, 40, "Holy Water: %9d", Player.p_holywater); mvprintw(11, 40, "Amulets : %9d", Player.p_amulets); mvprintw(12, 40, "Charms : %9d", Player.p_charms); |