Vanilla List Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch for mars det bug
The Vanilla server 2.9pl2 has broken det code in dogfight mode. At some
point someone put in a check to see if a torp in the det radius belonged
to a team member; if it does, the server skips the rest of the det check.
mars puts combatants on the same team, but hostile to each other; dets
don't work since this change was made.
A trivial patch is attached. Perhaps the proper way to patch it is to check
if you're in dogfight mode, but I think this kind of masterminding is
probably wrong; there are many reasons you might want to have teammate's
torps be hostile.
*** begin patch ***
diff -r Vanilla-2.9pl2/ntserv/detonate.c Vanilla-2.9pl2-patched/ntserv/detonate.
40c40,41
< * Teammates' torps are always friendly */
---
> * Teammates' torps are not always friendly--in dogfight mode,
> * combatants are on the same team! Commenting this out. -tom
42c43
< continue;
---
> continue; */
*** end patch ***