src/Rope.cc
changeset 377 01d3c340b372
parent 328 51d644c8d5a2
child 408 e6cfc44266af
--- a/src/Rope.cc	Mon Dec 15 15:36:17 2008 +0000
+++ b/src/Rope.cc	Mon Dec 15 16:41:00 2008 +0000
@@ -153,7 +153,8 @@
 void Rope::draw (Graphics *g, PixelCoordinate camera) {
     PixelCoordinate player_pos = player.getCoordinate() - camera;
     PixelCoordinate target_pos;
-
+    
+    // figure out what target is
     if (state == ROPE_FOLDED) {
         return;
 
@@ -169,7 +170,7 @@
         // target is our pivot
         target_pos = player.getPivot()->getCoordinate();
     }
-    
+ 
     // align with camera
     target_pos -= camera;
     
@@ -177,7 +178,7 @@
     g->get_gc()->draw_line(
         player_pos.x, player_pos.y,
         target_pos.x, target_pos.y,
-        CL_Color::black
+        ROPE_COLOR_DARK
     );
 }