Update HeightfieldExample.cpp

This commit is contained in:
erwincoumans authored and GitHub committed 2019-07-19 14:02:08 -07:00
1 parent 2502a83bd7
commit 1e6af4261e
1 file changed
+1 -1
+1 -1
View File
@@ -1036,7 +1036,7 @@ void HeightfieldExample::clearWorld(void)
m_collisionShapes.clear(); m_collisionShapes.clear();
// delete raw heightfield data // delete raw heightfield data
delete m_rawHeightfieldData; delete[] m_rawHeightfieldData;
m_rawHeightfieldData = NULL; m_rawHeightfieldData = NULL;
} }
} }