Distance check
#5

And let me guess... You don't have crashdetect?

EVERYBODY SHOULD HAVE CRASHDETECT!

Get it! Use it so we know which specific line is causing the problem, I don't see anything wrong except the variables being declared with static.

@Jefff: Static variables inside functions retain their values for future use in that function. So you should be using 'new' for these types of things. Static variables outside of functions are a completely different thing, specific to their file.
Reply


Messages In This Thread
Distance check - by TwinkiDaBoss - 07.12.2015, 23:47
Re: Distance check - by Jefff - 08.12.2015, 00:33
Re: Distance check - by TwinkiDaBoss - 08.12.2015, 01:03
Re: Distance check - by TwinkiDaBoss - 08.12.2015, 01:39
Re: Distance check - by Crayder - 08.12.2015, 01:49
Re: Distance check - by TwinkiDaBoss - 08.12.2015, 01:56

Forum Jump:


Users browsing this thread: 1 Guest(s)