diff options
author | simonb <simonb@NetBSD.org> | 2003-01-20 05:29:53 +0000 |
---|---|---|
committer | simonb <simonb@NetBSD.org> | 2003-01-20 05:29:53 +0000 |
commit | 3961d5130729d5938bb51ec1204b2b61920720cb (patch) | |
tree | 9f37dd687a383803e3a4f4dec3acf360ffd77884 /phantasia | |
parent | ca2e57358fc9d40f754ae74d2cf83a5356674484 (diff) | |
download | bsdgames-darwin-3961d5130729d5938bb51ec1204b2b61920720cb.tar.gz bsdgames-darwin-3961d5130729d5938bb51ec1204b2b61920720cb.tar.zst bsdgames-darwin-3961d5130729d5938bb51ec1204b2b61920720cb.zip |
The Double-Semi-Colon Police.
Diffstat (limited to 'phantasia')
-rw-r--r-- | phantasia/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phantasia/misc.c b/phantasia/misc.c index 5be73cc5..edf64cf7 100644 --- a/phantasia/misc.c +++ b/phantasia/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.7 2000/04/27 00:30:53 jdc Exp $ */ +/* $NetBSD: misc.c,v 1.8 2003/01/20 05:29:55 simonb Exp $ */ /* * misc.c Phantasia miscellaneous support routines @@ -790,7 +790,7 @@ adjuststats() /* calculate effective quickness */ dtemp = ((Player.p_gold + Player.p_gems / 2.0) - 1000.0) / Statptr->c_goldtote - - Player.p_level;; + - Player.p_level; dtemp = MAX(0.0, dtemp);/* gold slows player down */ Player.p_speed = Player.p_quickness + Player.p_quksilver - dtemp; |