src/Projectile.cc
changeset 257 549783d71e51
parent 255 99431fdb0dc8
child 263 8c999cf4c182
--- a/src/Projectile.cc	Sun Dec 07 20:08:28 2008 +0000
+++ b/src/Projectile.cc	Sun Dec 07 20:25:57 2008 +0000
@@ -46,7 +46,7 @@
     CL_GraphicContext *gc = g->get_gc();
 
     if (visible) {
-        PixelCoordinate pos = state.world.getPixelCoordinate(position) - camera;
+        PixelCoordinate pos = getCoordinate() - camera;
 
         CL_Quad projectile(
                 pos.x + 1, pos.y + 1,