Bugfix: uninitialised variable (thanks to valgrind).

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2009-01-14 00:27:46 +00:00
parent 9c8dd34a48
commit 4d81e7ba00

View File

@ -54,7 +54,7 @@ class Challenge
std::vector<std::string> m_prerequisites; // what needs to be done before accessing this challenge
public:
Challenge(std::string id, std::string name);
Challenge() {m_Id=""; m_Name="";}
Challenge() {m_Id=""; m_Name="";m_state=CH_INACTIVE;}
virtual ~Challenge() {};
const std::string& getId() const { return m_Id; }
const std::string& getName() const { return m_Name; }