Update of /cvsroot/netrek/client/netrekxp/src
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv16574/src

Modified Files:
	socket.c stats.c 
Log Message:
Ship cap packets update dashboards/stats window.
Stats window displays hull damage in sliding color.

Index: stats.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/stats.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- stats.c	7 May 2006 16:59:27 -0000	1.2
+++ stats.c	20 Sep 2006 16:54:20 -0000	1.3
@@ -201,10 +201,6 @@
         {
             box (1, BX_OFF (), BY_OFF (i), new_x, SL_HEI, -1);
         }
-        else if ((i == 1) && (colvalue > 0))
-        {
-            box (1, BX_OFF (), BY_OFF (i), new_x, SL_HEI, rColor);
-        }
         else if (colvalue > s->red)
         {
             box (1, BX_OFF (), BY_OFF (i), new_x, SL_HEI, rColor);

Index: socket.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/socket.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- socket.c	20 Sep 2006 13:04:53 -0000	1.7
+++ socket.c	20 Sep 2006 16:54:20 -0000	1.8
@@ -30,7 +30,6 @@
 #include "local.h"
 #include "proto.h"
 
-
 /* #define INCLUDE_SCAN            /* include Amdahl scanning beams */
 #define INCLUDE_VISTRACT        /* include visible tractor beams */
 
@@ -2347,6 +2346,10 @@
     shipvals[stype].s_height = ntohs (packet->s_height);
     shipvals[stype].s_phaserdamage = ntohs (packet->s_phaserrange);
     getship (myship, myship->s_type);
+    
+    redrawTstats ();
+    calibrate_stats ();
+    redrawStats ();
 }
 
 #ifdef RSA