Index: client/Client/main.cpp
===================================================================
--- client/Client/main.cpp	(revision 7efed11c931a26cec9c80c607e6d9042114bc981)
+++ client/Client/main.cpp	(revision d69eb32a44b1ded0917015409956ba84c3771fad)
@@ -569,7 +569,7 @@
          al_draw_filled_circle(pos.x, pos.y, 12, al_map_rgb(191, 0, 0));
 
-      if (o->hasBlueFlag)
+      if (p->hasBlueFlag)
          al_draw_filled_rectangle(pos.x+4, pos.y-18, pos.x+18, pos.y-4, al_map_rgb(0, 0, 255));
-      else if(o->hasRedFlag)
+      else if(p->hasRedFlag)
          al_draw_filled_rectangle(pos.x+4, pos.y-18, pos.x+18, pos.y-4, al_map_rgb(255, 0, 0));
    }
