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:
parent
9c8dd34a48
commit
4d81e7ba00
@ -54,7 +54,7 @@ class Challenge
|
|||||||
std::vector<std::string> m_prerequisites; // what needs to be done before accessing this challenge
|
std::vector<std::string> m_prerequisites; // what needs to be done before accessing this challenge
|
||||||
public:
|
public:
|
||||||
Challenge(std::string id, std::string name);
|
Challenge(std::string id, std::string name);
|
||||||
Challenge() {m_Id=""; m_Name="";}
|
Challenge() {m_Id=""; m_Name="";m_state=CH_INACTIVE;}
|
||||||
virtual ~Challenge() {};
|
virtual ~Challenge() {};
|
||||||
const std::string& getId() const { return m_Id; }
|
const std::string& getId() const { return m_Id; }
|
||||||
const std::string& getName() const { return m_Name; }
|
const std::string& getName() const { return m_Name; }
|
||||||
|
Loading…
Reference in New Issue
Block a user