(svn r3184) GB/SB

This commit is contained in:
tron
2005-11-15 08:49:46 +00:00
parent ba9157fbbc
commit 84a16a0b30
7 changed files with 13 additions and 13 deletions

View File

@@ -694,10 +694,10 @@ static void HandleEconomyFluctuations(void)
if (_opt.diff.economy == 0) return;
if (--_economy.fluct == 0) {
_economy.fluct = - (int)(Random()&3);
_economy.fluct = -(int)GB(Random(), 0, 2);
AddNewsItem(STR_7073_WORLD_RECESSION_FINANCIAL, NEWS_FLAGS(NM_NORMAL,0,NT_ECONOMY,0), 0, 0);
} else if (_economy.fluct == -12) {
_economy.fluct = (Random()&255) + 312;
_economy.fluct = GB(Random(), 0, 8) + 312;
AddNewsItem(STR_7074_RECESSION_OVER_UPTURN_IN, NEWS_FLAGS(NM_NORMAL,0,NT_ECONOMY,0), 0, 0);
}
}