(svn r8847) -Fix

There is not much point in hiding a normal 64bit multiplication in a function, so do not do it
This commit is contained in:
tron
2007-02-22 19:05:26 +00:00
parent 8b94d4df22
commit 2e4844abad
2 changed files with 1 additions and 6 deletions

View File

@@ -613,9 +613,8 @@ static void PlayersGenStatistics(void)
static void AddSingleInflation(int32 *value, uint16 *frac, int32 amt)
{
int64 tmp;
int64 tmp = (int64)*value * amt;
int32 low;
tmp = BIGMULS(*value, amt);
*frac = (uint16)(low = (uint16)tmp + *frac);
*value += (int32)(tmp >> 16) + (low >> 16);
}