static void BuildPathAtTile(int xpos, int ypos, int zpos, TileEdge edge, PathType path_type, uint8 path_spr) { VoxelStack *avs = _additions.GetModifyStack(xpos, ypos); Voxel *av = avs->GetCreate(zpos, true); av->SetInstance(SRI_PATH); VoxelStack *avs_origin = _additions.GetModifyStack(xpos + _tile_dxy[edge].x, xpos + _tile_dxy[edge].y); assert(avs != avs_origin);