Fix compile error

develop
lethosor 2016-10-19 16:21:38 -04:00
parent 701adc12b3
commit e3ff89ba03
1 changed files with 2 additions and 2 deletions

@ -2863,7 +2863,7 @@ static command_result SendDigCommand(color_ostream &stream, const DigCommand *in
{ {
MapExtras::MapCache mc; MapExtras::MapCache mc;
for (int i = 0; i < in->locations.locations_size(); i++) for (int i = 0; i < in->locations_size(); i++)
{ {
auto pos = in->locations(i); auto pos = in->locations(i);
auto des = mc.designationAt(DFCoord(pos.x(), pos.y(), pos.z())); auto des = mc.designationAt(DFCoord(pos.x(), pos.y(), pos.z()));
@ -2896,4 +2896,4 @@ static command_result SendDigCommand(color_ostream &stream, const DigCommand *in
mc.setDesignationAt(DFCoord(pos.x(), pos.y(), pos.z()), des); mc.setDesignationAt(DFCoord(pos.x(), pos.y(), pos.z()), des);
} }
return CR_OK; return CR_OK;
} }