From 1876932cd9ba7c87d95e1f7824303a46349518b1 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 14 Sep 2008 10:19:24 -0400 Subject: [PATCH] Fix commit 738fb28f's screwy line endings --- src/lib/player/player.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/lib/player/player.c b/src/lib/player/player.c index e5facc28..e62fd150 100644 --- a/src/lib/player/player.c +++ b/src/lib/player/player.c @@ -165,17 +165,17 @@ status(void) pr("That just cost you $%.2f\n", player->dolcost); else if (player->dolcost < -100.0) pr("You just made $%.2f\n", -player->dolcost); - if (player->dolcost != 0.0) { - /* - * Hackish work around for a race condition in the nightly - * build's regression tests: sometimes the update starts right - * after the force command yields, sometimes a bit later. If - * it is late, we use one random number here, for the bye, - * and throwing off the random sequence. - */ - natp->nat_money -= roundavg(player->dolcost); - player->dolcost = 0.0; - } + if (player->dolcost != 0.0) { + /* + * Hackish work around for a race condition in the nightly + * build's regression tests: sometimes the update starts right + * after the force command yields, sometimes a bit later. If + * it is late, we use one random number here, for the bye, + * and throwing off the random sequence. + */ + natp->nat_money -= roundavg(player->dolcost); + player->dolcost = 0.0; + } old_nstat = player->nstat; player_set_nstat(player, natp);