Runtime error in bitRender.cc
by Daniel Buckmaster · in Torque Game Engine · 04/29/2007 (6:59 am) · 2 replies
I've just done some modification of the engine. To sum it up, I made copies of item.h and item.cc, then went through them and renamed everything to 'pickup', at the same time removing the static and rotate fields. This compiled fine, and I can now create Pickup objects that behave exactly like Items. However, whenever the Player collides with a Pickup, I get an error telling me that xLeftDir is being used without being defined. It's 'Run-Time Check Failure #3'. Running it from VC2005, the error seems to be in line 391. I haven't made any changes to the file, and scrolling up a little, I can clearly see that xDirLeft is defined.
What's up here?
What's up here?
About the author
Studying mechatronic engineering and computer science at the University of Sydney. Game development is probably my most time-consuming hobby!
#2
04/29/2007 (8:55 am)
Thank you very much. I just can't see why my homegrown class triggered this error when nothing else did.
Associate Stefan Beffy Moises