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

Modified Files:
	local.c short.c 
Log Message:
Fix to bugs with observers and screen not being redrawn on observee death.
Fix to short packet position reporting to correctly report negative positions (i.e. where players get sent on death).
Some more tidying up of todo list.

Index: short.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/short.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- short.c	12 May 2006 01:58:38 -0000	1.7
+++ short.c	24 May 2006 09:10:08 -0000	1.8
@@ -706,8 +706,8 @@
         {                       /* S_P2 */
             struct player_s2_spacket *pa2 = (struct player_s2_spacket *) sbuf;
 
-            x = SCALE * ntohs (pa2->x);
-            y = SCALE * ntohs (pa2->y);
+            x = SCALE * (short) ntohs (pa2->x);
+            y = SCALE * (short) ntohs (pa2->y);
             new_flags (ntohl (pa2->flags), 0);
         }
         else

Index: local.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/local.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- local.c	24 May 2006 01:14:39 -0000	1.29
+++ local.c	24 May 2006 09:10:08 -0000	1.30
@@ -2535,7 +2535,10 @@
 
     clearLocal ();
 
-    if (me->p_x < 0)
+    /* Keep redrawing for double buffered observers who get set out of normal gameplay bounds,
+       whether due to locking onto an ineligible planet, or observing a player who dies -
+       otherwise screen doesn't refresh*/
+    if (me->p_x < 0 && !doubleBuffering && !(me->p_flags & PFOBSERV))
         return;
 
     DrawPlanets ();