diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-02-27 20:39:48 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-02-27 20:39:48 +0000 |
commit | de2ed6f3d26c006d98e935a7e4aeaac85e6b3c52 (patch) | |
tree | 23ea37d9914f8bb64da02cc2faa03e9f8957bf23 /games/wolfpack/files | |
parent | 6f137dbc9b732f62faa901d33b74b58173a5422b (diff) |
Notes
Diffstat (limited to 'games/wolfpack/files')
-rw-r--r-- | games/wolfpack/files/patch-ag | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/games/wolfpack/files/patch-ag b/games/wolfpack/files/patch-ag deleted file mode 100644 index cd9d5d64400b..000000000000 --- a/games/wolfpack/files/patch-ag +++ /dev/null @@ -1,36 +0,0 @@ ---- src/lib/commands/mfir.c.orig Sat Mar 11 15:36:42 2000 -+++ src/lib/commands/mfir.c Sat Dec 16 22:45:46 2000 -@@ -522,6 +522,7 @@ - } - } - */ -+ /* Now check treaties, based on the target */ - switch (target) { - case targ_ship: - if (!trechk(player->cnum, vict, SEAFIR)) -@@ -531,9 +532,13 @@ - if (!trechk(player->cnum, vict, SUBFIR)) - continue; - break; -- default: -+ case targ_unit: -+ case targ_land: - if (!trechk(player->cnum, vict, LANFIR)) - continue; -+ break; -+ default: -+ break; - } - - if (opt_SLOW_WAR) { -@@ -614,6 +619,10 @@ - - break ; - } -+ /* Ok, now, check if we had a bogus target. If so, -+ just continue on, since there is no defender. */ -+ if (target == targ_bogus) -+ continue; - if (attacker == targ_unit){ - attacker = targ_land; - getsect(fland.lnd_x,fland.lnd_y,&fsect); |