AcidRift: Fix scale precipitation, meteorites and rockfall by map size.

issue1247
Sven Eberhardt 2014-10-21 21:18:10 +02:00
parent 516cd46c37
commit aadd8176cb
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ private func InitEnvironment(int map_size, int difficulty)
SetSkyParallax(0, 20, 20);
SetSkyAdjust(RGBa(225, 255, 205, 191), RGB(63, 200, 0));
var map_size_factor = [90,120,140][map_size];
var map_size_factor = [90,120,140][map_size-1];
// Disasters
Meteor->SetChance((difficulty * 11) * map_size_factor / 120);