dwarfvet: fix extra % in log message

Mentioned in #1227
develop
lethosor 2018-02-13 11:19:10 -05:00
parent 74bf06c69e
commit 94b2ca68d8
1 changed files with 2 additions and 2 deletions

@ -779,7 +779,7 @@ command_result dwarfvet (color_ostream &out, std::vector <std::string> & paramet
for (size_t b =0 ; b < world->buildings.all.size(); b++) { for (size_t b =0 ; b < world->buildings.all.size(); b++) {
df::building* building = world->buildings.all[b]; df::building* building = world->buildings.all[b];
if (isActiveAnimalHospital(building)) { if (isActiveAnimalHospital(building)) {
out.print(" at x1: %d, x2%: %d, y1: %d, y2: %d, z: %d\n", building->x1, building->x2, building->y1, building->y2, building->z); out.print(" at x1: %d, x2: %d, y1: %d, y2: %d, z: %d\n", building->x1, building->x2, building->y1, building->y2, building->z);
} }
} }
return CR_OK; return CR_OK;
@ -832,4 +832,4 @@ DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_chan
break; break;
} }
return CR_OK; return CR_OK;
} }