07-14-2012, 01:11 AM
I'm pretty sure it still is "null" when you call it on line 49.
A few ideas that I'm not sure are any good:
a) Instead of defining it as a variable, try calling it straight from the class.
b) Try implementing DebugDraw in a new class and using that instead.
A few ideas that I'm not sure are any good:
a) Instead of defining it as a variable, try calling it straight from the class.
b) Try implementing DebugDraw in a new class and using that instead.