warnings when use event in switch?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
monkeycracks
Posts: 1029
Joined: Thu Apr 06, 2006 12:45 am
Location: Tennesee, USA
Contact:

Post by monkeycracks »

Yeah.
Will remember to read before helping people @_@

In MyEventReceiver class you must have bool OnEvent(const SEvent& event){ return false; // or whatever else
}

don't forget to set it as the receiver by device->setEventReceiver(&receiver);

Also make sure you're not using uninitialized pointers anywhere


For some reason I feel this post was equally redundant >_>
Post Reply