Added missing initialisation of m_material. This should fix #299

(crash happened most likely if a bowling ball exploded before
it was updated once - in this case m_material was not set).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-07-21 00:02:06 +00:00
parent 1079391fd1
commit 994ea9578a

View File

@ -32,6 +32,7 @@
TerrainInfo::TerrainInfo()
{
m_last_material = NULL;
m_material = NULL;
} // TerrainInfo
//-----------------------------------------------------------------------------