mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Merge pull request #283 from MajorCooke/quakefix
- Fixed broken regular quakes.
This commit is contained in:
commit
b6a5515ad7
1 changed files with 4 additions and 0 deletions
|
@ -211,6 +211,10 @@ fixed_t DEarthquake::GetModIntensity(int intensity) const
|
||||||
assert(m_CountdownStart > 0);
|
assert(m_CountdownStart > 0);
|
||||||
intensity = intensity * (scalar << FRACBITS) / m_CountdownStart;
|
intensity = intensity * (scalar << FRACBITS) / m_CountdownStart;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
intensity <<= FRACBITS;
|
||||||
|
}
|
||||||
return intensity;
|
return intensity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue