mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- Fixed broken regular quakes.
This commit is contained in:
parent
dca5f0e908
commit
6b83dcab89
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue