| 48 | } |
| 49 | |
| 50 | void lara_col_pickup(ItemInfo* item, CollisionInfo* coll) |
| 51 | { |
| 52 | // HACK: Pickup state is shared between different animations, such as crawl, crouch |
| 53 | // and underwater, so we can't clearly define coarse collision height. |
| 54 | coll->Setup.Height = (int)(item->GetAabb().Extents.y * 2.0f); |
| 55 | |
| 56 | LaraDefaultCollision(item, coll); |
| 57 | ShiftItem(item, coll); |
| 58 | } |
| 59 | |
| 60 | // State: LS_PICKUP_FLARE (67) |
| 61 | // Collision: lara_default_col() |
nothing calls this directly
no test coverage detected