[Freeciv-Dev] (PR#2379) Removing Submarine Flag
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients:; |
Subject: |
[Freeciv-Dev] (PR#2379) Removing Submarine Flag |
From: |
"Raahul Kumar via RT" <rt@xxxxxxxxxxxxxx> |
Date: |
Fri, 22 Nov 2002 05:24:10 -0800 |
Reply-to: |
rt@xxxxxxxxxxxxxx |
I cannot find the flag "Submarine" in the rulesets anymore, including Civ
2/Default. It is time to remove backward compatibility for this flag.
Aloha,
RK.
Blinding speed can compensate for a lot of deficiencies. -David Nichols
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus ? Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
diff -ruN -Xdiff_ignore Cvs_Freeciv/server/ruleset.c Freeciv/server/ruleset.c
--- Cvs_Freeciv/server/ruleset.c Fri Nov 22 11:00:55 2002
+++ Freeciv/server/ruleset.c Fri Nov 22 15:43:02 2002
@@ -719,15 +719,7 @@
if(strcmp(sval,"")==0) {
continue;
}
- if (strcmp(sval, "Submarine")==0) {
- /* Backwards compatibility */
- freelog(LOG_NORMAL, "Old-style \"Submarine\" flag in %s (ok)",
filename);
- BV_SET(u->flags, F_NO_LAND_ATTACK);
- BV_SET(u->flags, F_MISSILE_CARRIER);
- ival = F_PARTIAL_INVIS;
- } else {
ival = unit_flag_from_str(sval);
- }
if (ival==F_LAST) {
freelog(LOG_ERROR, "for unit_type \"%s\": bad flag name \"%s\" (%s)",
u->name, sval, filename);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#2379) Removing Submarine Flag,
Raahul Kumar via RT <=
|
|