Mercurial > mm7
diff mm7_4.cpp @ 767:45615cacad31
Fog fixed
author | Nomad |
---|---|
date | Sat, 23 Mar 2013 21:11:15 +0200 |
parents | a464d28566a6 |
children | 67b77b052ef3 |
line wrap: on
line diff
--- a/mm7_4.cpp Sat Mar 23 20:22:51 2013 +0200 +++ b/mm7_4.cpp Sat Mar 23 21:11:15 2013 +0200 @@ -2525,9 +2525,9 @@ if (!player->Pertified() && !player->Eradicated() && !player->Dead()) { - if (rand() % 100 < 5 * pParty->days_played_without_rest ) + if (rand() % 100 < 5 * pParty->days_played_without_rest) player->SetCondition(Player::Condition_Dead, 0); - if (rand() % 100 < 10 * pParty->days_played_without_rest ) + if (rand() % 100 < 10 * pParty->days_played_without_rest) player->SetCondition(Player::Condition_Insane, 0); } }