Throws exception when MC flag is on

Jump to navigation Jump to search

Throws exception when MC flag is on

Once I noticed DrussGT is orbiting predicted location, I turned on the MC flag to better see the movement ;)

However, in onPaint,

if (!shieldEnabled)gun.onPaint(g);

gun is null when MC is on, while shieldEnabled is false, so it throws NPE.

changing this line to

if (!shieldEnabled && !MC)gun.onPaint(g);

will fix that ;)

Btw, what's the biggest impact on movement between orbiting predicted pos and last seen pos/wave pos do you think?

Xor (talk)05:34, 3 February 2018