comparison mm7_4.cpp @ 767:45615cacad31

Fog fixed
author Nomad
date Sat, 23 Mar 2013 21:11:15 +0200
parents a464d28566a6
children 67b77b052ef3
comparison
equal deleted inserted replaced
766:a464d28566a6 767:45615cacad31
2523 2523
2524 player->Zero(); 2524 player->Zero();
2525 2525
2526 if (!player->Pertified() && !player->Eradicated() && !player->Dead()) 2526 if (!player->Pertified() && !player->Eradicated() && !player->Dead())
2527 { 2527 {
2528 if (rand() % 100 < 5 * pParty->days_played_without_rest ) 2528 if (rand() % 100 < 5 * pParty->days_played_without_rest)
2529 player->SetCondition(Player::Condition_Dead, 0); 2529 player->SetCondition(Player::Condition_Dead, 0);
2530 if (rand() % 100 < 10 * pParty->days_played_without_rest ) 2530 if (rand() % 100 < 10 * pParty->days_played_without_rest)
2531 player->SetCondition(Player::Condition_Insane, 0); 2531 player->SetCondition(Player::Condition_Insane, 0);
2532 } 2532 }
2533 } 2533 }
2534 } 2534 }
2535 if (uCurrentlyLoadedLevelType == LEVEL_Outdoor) 2535 if (uCurrentlyLoadedLevelType == LEVEL_Outdoor)