Index: client/Client/GameRender.cpp
===================================================================
--- client/Client/GameRender.cpp	(revision eb2ad4f8d147f3e19dbe991e6f96f7c0561d5ba8)
+++ client/Client/GameRender.cpp	(revision e5697b1dca1c7d9715d23d916b6174515cc8b633)
@@ -2,4 +2,6 @@
 
 #include <allegro5/allegro_primitives.h>
+
+#include "../../common/Common.h"
 
 void GameRender::drawMap(WorldMap* gameMap)
@@ -113,2 +115,25 @@
    }
 }
+
+void GameRender::drawProjectiles(map<unsigned int, Projectile>& mapProjectiles, map<unsigned int, Player*>& mapPlayers)
+{
+   map<unsigned int, Projectile>::iterator it;
+   for (it = mapProjectiles.begin(); it != mapProjectiles.end(); it++)
+   {
+      Projectile proj = it->second;
+
+      FLOAT_POSITION target = mapPlayers[proj.target]->pos;
+      float angle =  atan2(target.y-proj.pos.toFloat().y, target.x-proj.pos.toFloat().x);
+
+      POSITION start, end;
+      start.x = cos(angle)*15+proj.pos.x;
+      start.y = sin(angle)*15+proj.pos.y;
+      end.x = proj.pos.x;
+      end.y = proj.pos.y;
+
+      start = mapToScreen(start);
+      end = mapToScreen(end);
+
+      al_draw_line(start.x, start.y, end.x, end.y, al_map_rgb(0, 0, 0), 4);
+   }
+}
Index: client/Client/GameRender.h
===================================================================
--- client/Client/GameRender.h	(revision eb2ad4f8d147f3e19dbe991e6f96f7c0561d5ba8)
+++ client/Client/GameRender.h	(revision e5697b1dca1c7d9715d23d916b6174515cc8b633)
@@ -18,4 +18,5 @@
 
 #include "../../common/Player.h"
+#include "../../common/Projectile.h"
 #include "../../common/WorldMap.h"
 
@@ -25,4 +26,5 @@
    static void drawMap(WorldMap* gameMap);
    static void drawPlayers(map<unsigned int, Player*>& mapPlayers, ALLEGRO_FONT* font, unsigned int curPlayerId);
+   static void drawProjectiles(map<unsigned int, Projectile>& mapProjectiles, map<unsigned int, Player*>& mapPLayers);
 };
 
Index: client/Client/main.cpp
===================================================================
--- client/Client/main.cpp	(revision eb2ad4f8d147f3e19dbe991e6f96f7c0561d5ba8)
+++ client/Client/main.cpp	(revision e5697b1dca1c7d9715d23d916b6174515cc8b633)
@@ -520,24 +520,5 @@
             GameRender::drawMap(game->getMap());
             GameRender::drawPlayers(game->getPlayers(), font, curPlayerId);
-
-            // draw projectiles
-            for (it2 = game->getProjectiles().begin(); it2 != game->getProjectiles().end(); it2++)
-            {
-               Projectile proj = it2->second;
-
-               FLOAT_POSITION target = game->getPlayers()[proj.target]->pos;
-               float angle =  atan2(target.y-proj.pos.toFloat().y, target.x-proj.pos.toFloat().x);
-
-               POSITION start, end;
-               start.x = cos(angle)*15+proj.pos.x;
-               start.y = sin(angle)*15+proj.pos.y;
-               end.x = proj.pos.x;
-               end.y = proj.pos.y;
-
-               start = mapToScreen(start);
-               end = mapToScreen(end);
-
-               al_draw_line(start.x, start.y, end.x, end.y, al_map_rgb(0, 0, 0), 4);
-            }
+            GameRender::drawProjectiles(game->getProjectiles(), game->getPlayers());
          }
          else if (wndCurrent == wndGameSummary)
