Update of /cvsroot/netrek/client/netrekxp/src
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16050/src
Modified Files:
short.c socket.c
Log Message:
Remove ARMY_SLIDER define.
Remove unnecessary updating of stat win when kill packet received,
as stat win does not have a slider for armies/kills.
Index: short.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/short.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- short.c 8 Jun 2009 22:55:04 -0000 1.30
+++ short.c 9 Jun 2009 00:08:04 -0000 1.31
@@ -1990,14 +1990,6 @@
players[pnum].p_kills = (float) (pkills / 100.0);
/* FAT: prevent redundant player update */
PlistNoteUpdate (pnum);
-
-#ifdef ARMY_SLIDER
- if (me == &players[(int) pnum])
- {
- calibrate_stats ();
- redrawStats ();
- }
-#endif /* ARMY_SLIDER */
}
} /* for */
Index: socket.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/socket.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- socket.c 8 Jun 2009 22:55:04 -0000 1.72
+++ socket.c 9 Jun 2009 00:08:04 -0000 1.73
@@ -2097,14 +2097,6 @@
players[packet->pnum].p_kills = (float) (ntohl (packet->kills) / 100.0);
/* FAT: prevent redundant player update */
PlistNoteUpdate (packet->pnum);
-
-#ifdef ARMY_SLIDER
- if (me == &players[packet->pnum])
- {
- calibrate_stats ();
- redrawStats ();
- }
-#endif /* ARMY_SLIDER */
}
}