[Fix] Holy Cow! Faction standing was continuall decreasing.. WTF!

This commit is contained in:
Allanis 2014-03-07 23:46:44 +00:00
parent 154cd9977f
commit 9bb41430e6

View File

@ -176,9 +176,9 @@ void faction_modPlayer(int f, double mod) {
/* Enemies are made faster. */ /* Enemies are made faster. */
m = RNGF(); m = RNGF();
if(mod > 0.) if(mod > 0.)
m *= 3./4.; m *= 0.75;
ally->player += m; ally->player += m*mod;
faction_sanitizePlayer(ally); faction_sanitizePlayer(ally);
} }
@ -189,9 +189,9 @@ void faction_modPlayer(int f, double mod) {
/* Enemies are made faster. */ /* Enemies are made faster. */
m = RNGF(); m = RNGF();
if(mod < 0.) if(mod < 0.)
m *= 3./4.; m *= 0.75;
enemy->player -= m; enemy->player -= m*mod;
faction_sanitizePlayer(enemy); faction_sanitizePlayer(enemy);
} }
} }