Date: Tuesday July 11, 2000 @ 8:49
Author: karthik
Update of /home/netrek/cvsroot/Vanilla/robots
In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv14536
Modified Files:
newbie.c
Log Message:
Fixing newbie server queue changes (would cause a normal pickup server to
incorrectly report queues if NEWBIESERVER was defined). Checks GU_NEWBIE
instead of #ifdef NEWBIESERVER now.
****************************************
Index: Vanilla/robots/newbie.c
diff -u Vanilla/robots/newbie.c:1.4 Vanilla/robots/newbie.c:1.5
--- Vanilla/robots/newbie.c:1.4 Thu Jul 6 14:34:10 2000
+++ Vanilla/robots/newbie.c Tue Jul 11 08:49:23 2000
@@ -156,6 +156,10 @@
#endif
status->gameup |= GU_NEWBIE;
+ queues[QU_NEWBIE_PLR].q_flags |= QU_REPORT;
+ queues[QU_NEWBIE_OBS].q_flags |= QU_REPORT;
+ queues[QU_PICKUP].q_flags ^= QU_REPORT;
+ queues[QU_PICKUP_OBS].q_flags ^= QU_REPORT;
/* Robot is signalled by the Daemon */
ERROR(3,("\nRobot Using Daemon Synchronization Timing\n"));
@@ -468,6 +472,10 @@
obliterate(1,KPROVIDENCE);
status->gameup &= ~GU_NEWBIE;
+ queues[QU_NEWBIE_PLR].q_flags ^= QU_REPORT;
+ queues[QU_NEWBIE_OBS].q_flags ^= QU_REPORT;
+ queues[QU_PICKUP].q_flags |= QU_REPORT;
+ queues[QU_PICKUP_OBS].q_flags |= QU_REPORT;
exitRobot();
}