Date: Thursday February 7, 2002 @ 4:48
Author: xyzzy
Update of /home/netrek/cvsroot/Vanilla/ntserv
In directory swashbuckler.real-time.com:/var/tmp/cvs-serv6720
Modified Files:
interface.c
Log Message:
Let observers lock onto cloaked players. They still can't watch another
team's players of course. I think that Paradise-2000 is currently the only
client that provides a mechanism to actually lock a cloaked player, but
maybe other clients will add this.
****************************************
Index: Vanilla/ntserv/interface.c
diff -u Vanilla/ntserv/interface.c:1.10 Vanilla/ntserv/interface.c:1.11
--- Vanilla/ntserv/interface.c:1.10 Thu May 10 05:37:11 2001
+++ Vanilla/ntserv/interface.c Thu Feb 7 04:48:35 2002
@@ -220,7 +220,7 @@
{
if (player<0 || player>=MAXPLAYER) return;
if (players[player].p_status != PALIVE) return;
- if (players[player].p_flags & PFCLOAK) return;
+ if (players[player].p_flags & PFCLOAK && !Observer) return;
me->p_flags |= PFPLOCK;
me->p_flags &= ~(PFPLLOCK|PFORBIT|PFBEAMUP|PFBEAMDOWN|PFBOMB);