From bb4ef292012af833294bf569ac43eebad57e3148 Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Wed, 21 Mar 2018 00:12:57 +0300 Subject: [PATCH] Displacer teleportation changes the gravity --- dlls/gearbox/displacer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gearbox/displacer.cpp b/dlls/gearbox/displacer.cpp index 914f8b12..6982b5b0 100644 --- a/dlls/gearbox/displacer.cpp +++ b/dlls/gearbox/displacer.cpp @@ -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