Ultimate Radar – Observers See All

Okay, seeing ST was nice, but there was a small bug in the implementation.
So here is a much simpler version which permits seeing everything on radar.(while observer)

First lets open up “RadarRenderer.cxx” and find this line of code:

bool iSeeAll = myTank && (myTank->getFlag() == Flags::Seer);

Change it so it reads like this:

bool iSeeAll = myTank && ((myTank->getFlag() == Flags::Seer) || (myTank->getTeam() == ObserverTeam));

This is a really simple modification, but it works wonders.
If you like/hate this modification or want to see another one, comment.
Remember, as always, have fun.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s