Browse Source

Displacer teleportation changes the gravity

opforfixed
Roman Chistokhodov 7 years ago
parent
commit
bb4ef29201
  1. 4
      dlls/gearbox/displacer.cpp

4
dlls/gearbox/displacer.cpp

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

Loading…
Cancel
Save