Skip to content

Commit

Permalink
fix waypoint name(CoP)
Browse files Browse the repository at this point in the history
  • Loading branch information
abramcumner committed Aug 18, 2016
1 parent b0e4484 commit f707231
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/xray_re/xr_scene_ways.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ struct write_point_ini { void operator()(const way_point_le& point, xr_ini_write

n = xr_snprintf(buf, sizeof(buffer), "wp_%d_name", id);
if (n > 0)
w->write(buf, point.name);
w->write(buf, point.name, false);

n = xr_snprintf(buf, sizeof(buffer), "wp_%d_pos", id);
if (n > 0)
w->write(buf, point.position);

n = sprintf_s(buf, sizeof(buffer), "wp_%d_selected", id);
if (n > 0)
w->write(buf, "off");
w->write(buf, "off", false);
}};

void xr_way_object::save_v12(xr_ini_writer* w) const
Expand Down

0 comments on commit f707231

Please sign in to comment.