changeset 254 | 0c3d58912e1b |
parent 252 | 25054ce94d07 |
child 255 | 99431fdb0dc8 |
253:747b1037d83e | 254:0c3d58912e1b |
---|---|
141 if (!world.collides(position)) { |
141 if (!world.collides(position)) { |
142 release(); |
142 release(); |
143 } |
143 } |
144 } |
144 } |
145 else { // ROPE_FOLDED |
145 else { // ROPE_FOLDED |
146 throw std::logic_error("Rope shouldn't be ticking if it is folded"); |
146 // Rope shouldn't be ticking if it is folded, but this can still happen |
147 // immediately after the rope has been released |
|
147 } |
148 } |
148 } |
149 } |