Vanilla Development Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS update: Vanilla/ntserv



Date:	Monday November 22, 1999 @ 16:21
Author:	unbelver

Update of /home/netrek/cvsroot/Vanilla/ntserv
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv9202

Modified Files:
	feature.c 
Log Message:

	* ntserv/feature.c: added a memory location for feature flag
	CLOAK_MAXWARP to allow it to be settable via .features

--Carlos V.




****************************************

Index: Vanilla/ntserv/feature.c
diff -u Vanilla/ntserv/feature.c:1.3 Vanilla/ntserv/feature.c:1.4
--- Vanilla/ntserv/feature.c:1.3	Fri Apr 30 15:18:43 1999
+++ Vanilla/ntserv/feature.c	Mon Nov 22 16:21:28 1999
@@ -38,6 +38,8 @@
     int    *var; /* local variable */
 };
 
+int F_cloak_maxwarp = 0;
+
 struct feature_var feature_vars[] = {
    { "FEATURE_PACKETS",		&F_client_feature_packets },
 #ifdef CHAIN_REACTION
@@ -46,7 +48,7 @@
    { "SBHOURS",			&SBhours },
    { "SELF_8FLAGS",		NULL },
    { "RC_DISTRESS",		NULL }, /* xx */
-   { "CLOAK_MAXWARP",		NULL },
+   { "CLOAK_MAXWARP",		&F_cloak_maxwarp},
    { "SHIP_CAP",		&F_ship_cap},
    { "DEAD_WARP",		&dead_warp },
    { NULL, NULL },