| 67 | } |
| 68 | |
| 69 | bool LaraDeflectTopSide(ItemInfo* item, CollisionInfo* coll) |
| 70 | { |
| 71 | // HACK: If we are falling down, collision is CollisionType::Clamp and |
| 72 | // HitStatic flag is set, it means we've collided static from the top. |
| 73 | |
| 74 | if (coll->CollisionType == CollisionType::Clamp && |
| 75 | coll->HitStatic && item->Animation.Velocity.y > 0.0f) |
| 76 | { |
| 77 | SetAnimation(item, LA_JUMP_WALL_SMASH_START, 1); |
| 78 | Rumble(0.5f, 0.15f); |
| 79 | |
| 80 | return true; |
| 81 | } |
| 82 | |
| 83 | return false; |
| 84 | } |
| 85 | |
| 86 | bool LaraDeflectEdgeJump(ItemInfo* item, CollisionInfo* coll) |
| 87 | { |
no test coverage detected