src/Projectile.cc
branchnew_graphics
changeset 417 c503e0c6a740
parent 412 721c60072091
child 428 712b943195a6
--- a/src/Projectile.cc	Thu Jan 22 00:28:26 2009 +0200
+++ b/src/Projectile.cc	Thu Jan 22 01:53:05 2009 +0200
@@ -74,6 +74,7 @@
     PhysicsObject::tick(dt);
 }
 
+#if GRAPHICS_ENABLED
 void Projectile::draw(graphics::Display &display, PixelCoordinate camera) const {
     CL_GraphicContext *gc = display.get_gc();
 
@@ -92,4 +93,5 @@
         gc->fill_quad(projectile, CL_Color::green);
     }
 }
- 
+#endif
+