mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-24 05:34:18 +00:00
Displacer teleportation changes the gravity
This commit is contained in:
parent
7eaf966a0f
commit
bb4ef29201
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user