Index: client/Client/main.cpp
===================================================================
--- client/Client/main.cpp	(revision 66c4ec42dbedcfd532692a88c21a6ef3d1a07cba)
+++ client/Client/main.cpp	(revision 5a5f131da3494898fa508a51e9526afc3f65ab16)
@@ -367,5 +367,4 @@
             for (it2 = mapProjectiles.begin(); it2 != mapProjectiles.end(); it2++)
             {
-               cout << "Update projectile position" << endl;
                it2->second.move(mapPlayers);
             }
@@ -377,6 +376,4 @@
             for (it2 = mapProjectiles.begin(); it2 != mapProjectiles.end(); it2++)
             {
-               cout << "Draw projectile" << endl;
-
                Projectile proj = it2->second;
 
@@ -532,20 +529,14 @@
             case MSG_TYPE_PLAYER:   // kind of hacky to put this here
             {
-               cout << "Got MSG_TYPE_PLAYER message in STATE_START" << endl;
-
                Player p("", "");
                p.deserialize(msg.buffer);
                p.timeLastUpdated = getCurrentMillis();
+
                mapPlayers[p.id] = p;
 
-               cout << "new player id: " << p.id << endl;
-               cout << "map size: " << mapPlayers.size() << endl;
-
                break;
             }
             case MSG_TYPE_OBJECT:
             {
-               cout << "Received OBJECT message in STATE_START." << endl;
-
                WorldMap::Object o(0, WorldMap::OBJECT_NONE, 0, 0);
                o.deserialize(msg.buffer);
@@ -591,10 +582,13 @@
             case MSG_TYPE_PLAYER:
             {
-               //cout << "Got MSG_TYPE_PLAYER message in STATE_LOGIN" << endl;
-
                Player p("", "");
                p.deserialize(msg.buffer);
                p.timeLastUpdated = getCurrentMillis();
                p.isChasing = false;
+               if (p.health <= 0)
+                  p.isDead = true;
+               else
+                  p.isDead = false;
+
                mapPlayers[p.id] = p;
 
@@ -603,6 +597,4 @@
             case MSG_TYPE_PLAYER_MOVE:
             {
-               cout << "Got a player move message" << endl;
-
                unsigned int id;
                int x, y;
@@ -793,4 +785,8 @@
    {
       p = &it->second;
+
+      if (p->isDead)
+         continue;
+
       pos = mapToScreen(p->pos);
 
Index: common/Projectile.cpp
===================================================================
--- common/Projectile.cpp	(revision 66c4ec42dbedcfd532692a88c21a6ef3d1a07cba)
+++ common/Projectile.cpp	(revision 5a5f131da3494898fa508a51e9526afc3f65ab16)
@@ -74,11 +74,7 @@
    // if the current target logs off, this method will run into problems
 
-   cout << "Inside projectile move" << endl;
-
    unsigned long long curTime = getCurrentMillis();
-   cout << "Got current time" << endl;
 
    Player targetP = mapPlayers[target];
-   cout << "Got target" << endl;
 
    if (timeLastUpdated == 0) {
@@ -92,6 +88,4 @@
    float dist = sqrt(pow(targetP.pos.x-pos.x, 2) + pow(targetP.pos.y-pos.y, 2));
 
-   cout << "About to finish projectile move" << endl;
-
    if (dist <= pixels) {
       pos.x = targetP.pos.x;
