diff --git a/src/tracks/check_structure.cpp b/src/tracks/check_structure.cpp index 5c1d00989..0b7dff93b 100644 --- a/src/tracks/check_structure.cpp +++ b/src/tracks/check_structure.cpp @@ -28,19 +28,19 @@ CheckStructure::CheckStructure(CheckManager *check_manager, const XMLNode &node) { m_check_manager = check_manager; - std::string type; - node.get("type", &type); - if(type=="new-lap") + std::string kind; + node.get("kind", &kind); + if(kind=="lap") m_check_type = CT_NEW_LAP; - else if(type=="activate") + else if(kind=="activate") m_check_type = CT_ACTIVATE; - else if(type=="toggle") + else if(kind=="toggle") m_check_type = CT_TOGGLE; - else if(type=="ambient-light") + else if(kind=="ambient-light") m_check_type = CT_AMBIENT_SPHERE; else { - printf("Unknown check structure '%s' - ignored.\n", type.c_str()); + printf("Unknown check structure '%s' - ignored.\n", kind.c_str()); } m_activate_check_index = -1; node.get("other-id", &m_activate_check_index); diff --git a/src/tracks/track.cpp b/src/tracks/track.cpp index b465282cb..b475bd3ea 100644 --- a/src/tracks/track.cpp +++ b/src/tracks/track.cpp @@ -377,7 +377,7 @@ void Track::createPhysicsModel() } // createPhysicsModel // ----------------------------------------------------------------------------- -//* Convert the ssg track tree into its physics equivalents. +//* Convert the graohics track into its physics equivalents. void Track::convertTrackToBullet(const scene::IMesh *mesh) { for(unsigned int i=0; i<mesh->getMeshBufferCount(); i++) {