Wednesday, August 8, 2007

No Blindness

Another, really easy cheat. So you can see out the window.

Open playing.cxx and find this line of code:

if (bestTarget->isHunted() && myTank->getFlag() != Flags::Blindness &&

And change it to this


if (bestTarget->isHunted() &&

Then find these lines of code:
sceneRenderer->setBlank(myTank && (myTank->isPaused() ||
myTank->getFlag() == Flags::Blindness));
And change it to this:

sceneRenderer->setBlank(myTank && (myTank->isPaused()));

Or just delete it altogether.

And that's pretty much it. If I forgot anything, leave a comment.
-Phaz

No comments: