delaying jump collision action instead of randoming

This commit is contained in:
jeefo 2015-07-22 19:14:07 +03:00
commit 5174799000
2 changed files with 5 additions and 1 deletions

View file

@ -848,6 +848,7 @@ private:
float m_firstCollideTime; // time of first collision
float m_probeTime; // time of probing different moves
float m_lastCollTime; // time until next collision check
float m_jumpStateTimer; // timer for jumping collision check
unsigned int m_collisionProbeBits; // bits of possible collision moves
unsigned int m_collideMoves[MAX_COLLIDE_MOVES]; // sorted array of movements