diff --git a/ReflexToQ3/mapparser.cpp b/ReflexToQ3/mapparser.cpp index 7a4da32..8b849be 100644 --- a/ReflexToQ3/mapparser.cpp +++ b/ReflexToQ3/mapparser.cpp @@ -173,15 +173,15 @@ EParserState CMapParser::ParseVertex(const std::string _Line) double dValue = std::stod(pcToken); if(iTokenNum == 0) { - Vert[0] = (float)dValue; + Vert[X] = (float)dValue; } else if(iTokenNum == 1) { - Vert[1] = (float)dValue; + Vert[Y] = (float)dValue; } else if(iTokenNum == 2) { - Vert[2] = (float)dValue; + Vert[Z] = (float)dValue; } iTokenNum++; } diff --git a/ReflexToQ3/worldspawn.h b/ReflexToQ3/worldspawn.h index 23915ae..d182f40 100644 --- a/ReflexToQ3/worldspawn.h +++ b/ReflexToQ3/worldspawn.h @@ -21,7 +21,7 @@ struct TFace struct TBrush { - std::vector m_Vertices; + std::vector m_Vertices; std::vector m_Faces; };