src/Rope.cc
changeset 408 e6cfc44266af
parent 377 01d3c340b372
child 412 721c60072091
--- a/src/Rope.cc	Tue Jan 20 23:24:04 2009 +0200
+++ b/src/Rope.cc	Tue Jan 20 23:30:18 2009 +0200
@@ -193,7 +193,7 @@
             return;
 
         // If there's no ground on the pivot point anymore, release the rope
-        if (!world.collides(position)) { 
+        if (!world.terrain.collides(position)) { 
             // XXX: move to some new method
             state = ROPE_FLYING;
             length = ROPE_LENGTH;