Separated setup code

This commit is contained in:
Segey Lapin
2021-10-24 02:20:15 +03:00
parent eef15ea522
commit 8a5e9e0186
4 changed files with 80 additions and 40 deletions

View File

@@ -624,7 +624,7 @@ static Dictionary map_site2dict(const struct map_site *ms)
ret["avg_height"] = ms->avg_height;
return ret;
}
static Dictionary vshape2dict(const struct RoadGrid::vshape *v)
static Dictionary vshape2dict(const struct vshape *v)
{
Dictionary ret;
ret["area"] = var2str(v->area);
@@ -680,4 +680,3 @@ void RoadGrid::save_json(const String &path)
}
}