Clear gContactProcessedCallback on exiting physics.

This commit is contained in:
Benjamin Ellenberger 2016-08-02 20:38:36 +02:00
parent 4622ab4299
commit dcfa5a3ee2

View File

@ -545,6 +545,8 @@ bool NN3DWalkers::keyboardCallback(int key, int state)
void NN3DWalkers::exitPhysics()
{
gContactProcessedCallback = NULL; // clear contact processed callback on exiting
int i;
for (i=0;i<m_walkers.size();i++)