diff --git a/src/race/grand_prix_data.cpp b/src/race/grand_prix_data.cpp index 05521f15b..967da681d 100644 --- a/src/race/grand_prix_data.cpp +++ b/src/race/grand_prix_data.cpp @@ -53,20 +53,7 @@ GrandPrixData::GrandPrixData(const std::string filename) throw(std::logic_error) throw std::logic_error("File contents are incomplete or corrupt"); } m_name = _(temp_name.c_str()); - foundName = true; - - /* - std::string temp_desc; - const int readDesc = root->get( "description", &temp_desc ); - if (readDesc == 1 && temp_desc.size() > 0) - { - m_description = _(temp_desc.c_str()); - } - */ - - // This used to be there, but I'm leaving it out since it seems it was unused - // lisp->get("item", m_item_style); - + foundName = true; } else { diff --git a/src/race/grand_prix_data.hpp b/src/race/grand_prix_data.hpp index 774338174..e4e897c9d 100644 --- a/src/race/grand_prix_data.hpp +++ b/src/race/grand_prix_data.hpp @@ -39,7 +39,6 @@ class GrandPrixData std::string m_id; //!< Internal name of the grand prix, not translated std::string m_filename; //!< Original filename, only for error handling needed - std::string m_item_style; //!< item style which overwrites the track default /** * The ident of the tracks in this grand prix in their right order, ident @@ -68,7 +67,6 @@ public: /** @return the internale name identifier of the Grand Prix (not translated) */ const std::string& getId () const { return m_id; } - const std::string& getItemStyle () const { return m_item_style; } const std::string& getFilename () const { return m_filename; } const std::string& getTrack(size_t track_index) const { assert(track_index >= 0); assert(track_index < m_tracks.size()); return m_tracks[track_index]; } diff --git a/src/race/race_manager.hpp b/src/race/race_manager.hpp index 48b84977a..24e80d00a 100644 --- a/src/race/race_manager.hpp +++ b/src/race/race_manager.hpp @@ -279,7 +279,6 @@ public: const GrandPrixData *getGrandPrix() const { return &m_grand_prix; } unsigned int getFinishedKarts() const { return m_num_finished_karts; } unsigned int getFinishedPlayers() const { return m_num_finished_players; } - const std::string& getItemStyle() const { return m_grand_prix.getItemStyle(); } void computeGPRanks(); int getKartGPRank(const int kart_id)