Vanilla List Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [VANILLA-LIST:2493] Some things
On Thu, Jul 15, 1999 at 06:57:44PM -0400, Dave Ahn wrote:
> On Wed, Jul 14, 1999 at 07:32:44PM -0700, Tom Holub wrote:
> >
> > Detting is broken on a fresh 2.9pl2 install in dogfight mode.
>
> Interesting. I'll have to take a look at why robots/detonate.c isn't
> being used.
>
> > This just means that mars doesn't filter out the det itself; it still
> > calls the ntserv det code to calculate the det, and that's where it gets
> > chopped off.
>
> The only thing I'm wary of is that this change may affect non-dogfight
> mode dets. Have you tested your patch in non-dogfight mode?
Yes, there's no difference. If you look at the detonate code, it
first checks if you're on the same team (exits function if you are), then
if the torp is friendly (exits function if it is). Friendly torps
get caught by the second check.
-Tom