Displacer teleportation changes the gravity

This commit is contained in:
Roman Chistokhodov 2018-03-21 00:12:57 +03:00
parent 7eaf966a0f
commit bb4ef29201

View File

@ -639,10 +639,10 @@ void CDisplacer::Teleport( void )
if( !g_pGameRules->IsMultiplayer())
{
m_pPlayer->m_fInXen = !m_pPlayer->m_fInXen;
/*if (m_pPlayer->m_fInXen)
if (m_pPlayer->m_fInXen)
m_pPlayer->pev->gravity = 0.5;
else
m_pPlayer->pev->gravity = 1.0;*/
m_pPlayer->pev->gravity = 1.0;
}
}
else