Update of /cvsroot/netrek/client/netrekxp/src
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12098
Modified Files:
playback.c
Log Message:
Playback bug fix: on server generated recording, ship type was
not being set properly, so now the default ship is the cruiser.
This fixes a regression caused by client changes to how ships
are initialized (I believe).
Index: playback.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/playback.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- playback.c 12 Feb 2009 03:48:25 -0000 1.27
+++ playback.c 13 Feb 2009 02:40:19 -0000 1.28
@@ -235,7 +235,7 @@
mystats = &(me->p_stats);
me->p_x = me->p_y = 50000;
- myship = getship(CRUISER);
+ me->p_ship = *getship(CRUISER);
displayme = me;
packetsme = me;