Merge pull request #283 from MajorCooke/quakefix

- Fixed broken regular quakes.
This commit is contained in:
rheit 2015-03-01 23:00:27 -06:00
commit b6a5515ad7
1 changed files with 4 additions and 0 deletions

View File

@ -211,6 +211,10 @@ fixed_t DEarthquake::GetModIntensity(int intensity) const
assert(m_CountdownStart > 0);
intensity = intensity * (scalar << FRACBITS) / m_CountdownStart;
}
else
{
intensity <<= FRACBITS;
}
return intensity;
}