diff --git a/src/g_shared/a_quake.cpp b/src/g_shared/a_quake.cpp index 2adef6aff..6ddcd0e41 100644 --- a/src/g_shared/a_quake.cpp +++ b/src/g_shared/a_quake.cpp @@ -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; }