forked from github/server
http://eressea.upb.de/mantis/view.php?id=764 PopulationDamage war um Faktor 100 zu hoch.
This commit is contained in:
parent
3705d0d1eb
commit
5f43830f59
1 changed files with 1 additions and 1 deletions
|
@ -2291,7 +2291,7 @@ PopulationDamage(void)
|
||||||
static double value = -1.0;
|
static double value = -1.0;
|
||||||
if (value<0) {
|
if (value<0) {
|
||||||
const char * str = get_param(global.parameters, "battle.populationdamage");
|
const char * str = get_param(global.parameters, "battle.populationdamage");
|
||||||
value = str?atof(str):BATTLE_KILLS_PEASANTS;
|
value = str?atof(str):(BATTLE_KILLS_PEASANTS/100.0);
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue