| 149 | } |
| 150 | |
| 151 | void RopeControl(short itemNumber) |
| 152 | { |
| 153 | auto* item = &g_Level.Items[itemNumber]; |
| 154 | auto* rope = &Ropes[item->TriggerFlags]; |
| 155 | |
| 156 | if (TriggerActive(item)) |
| 157 | { |
| 158 | rope->active = 1; |
| 159 | rope->StoreInterpolationData(); |
| 160 | |
| 161 | RopeDynamics(rope); |
| 162 | } |
| 163 | else |
| 164 | rope->active = 0; |
| 165 | } |
| 166 | |
| 167 | void RopeCollision(short itemNumber, ItemInfo* laraItem, CollisionInfo* coll) |
| 168 | { |
nothing calls this directly
no test coverage detected