Fix prediction

This commit is contained in:
def 2013-08-05 19:58:51 +02:00
parent 111d5c7f10
commit 4987b26b7b
3 changed files with 6 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 KiB

After

Width:  |  Height:  |  Size: 290 KiB

View file

@ -64,6 +64,8 @@ void CCharacterCore::Init(CWorldCore *pWorld, CCollision *pCollision, CTeamsCore
m_pTeams = pTeams;
m_Id = -1;
m_Hook = true;
m_Collision = true;
}
void CCharacterCore::Init(CWorldCore *pWorld, CCollision *pCollision, CTeamsCore* pTeams, std::map<int, std::vector<vec2> > pTeleOuts)
@ -74,6 +76,8 @@ void CCharacterCore::Init(CWorldCore *pWorld, CCollision *pCollision, CTeamsCore
m_pTeams = pTeams;
m_Id = -1;
m_Hook = true;
m_Collision = true;
}
void CCharacterCore::Reset()
@ -88,6 +92,8 @@ void CCharacterCore::Reset()
m_HookedPlayer = -1;
m_Jumped = 0;
m_TriggeredEvents = 0;
m_Hook = true;
m_Collision = true;
}
void CCharacterCore::Tick(bool UseInput)

View file

@ -1683,7 +1683,5 @@ void CCharacter::DDRaceInit()
m_TeleCheckpoint = 0;
m_EndlessHook = g_Config.m_SvEndlessDrag;
m_Hit = g_Config.m_SvHit ? HIT_ALL : DISABLE_HIT_GRENADE|DISABLE_HIT_HAMMER|DISABLE_HIT_RIFLE|DISABLE_HIT_SHOTGUN;
m_Core.m_Collision = true;
m_Core.m_Hook = true;
m_SuperJump = false;
}