Some compile fixes for older versions of C++ on windows

This commit is contained in:
KimLS
2014-04-29 17:49:17 -07:00
parent c6b637e5a5
commit a2e86ebec5
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ float Map::FindBestZ(Vertex &start, Vertex *result) const {
result = &tmp;
start.z += RuleI(Map, FindBestZHeightAdjust);
Vertex from = { start.x, start.y, start.z };
Vertex to = { start.x, start.y, BEST_Z_INVALID };
Vertex from(start.x, start.y, start.z);
Vertex to(start.x, start.y, BEST_Z_INVALID);
float hit_distance;
bool hit = false;