Project

General

Profile

Revision 758

Fixed the same bug in colonet client

View differences:

trunk/code/projects/colonet/client/Colonet.java
973 973
			bufferedGraphics.drawImage(imgScaled, x, y, this);
974 974

  
975 975
      // Draw boundary
976
      if (boundary != null && boundary.isSetting() || boundary.isActive()) {
976
      if (boundary != null && (boundary.isSetting() || boundary.isActive())) {
977 977
         bufferedGraphics.setColor(Color.BLUE);
978 978
         int width = boundary.panel_p2.x - boundary.panel_p1.x;
979 979
         int height = boundary.panel_p2.y - boundary.panel_p1.y;

Also available in: Unified diff