Travis compliance

develop
Fukken-Saved 2015-06-13 14:19:14 -04:00
parent d4c7cd2a4e
commit 9a262ad013
1 changed files with 7 additions and 7 deletions

@ -143,8 +143,8 @@ enum dwarf_state {
// Baby or Child, can't work // Baby or Child, can't work
CHILD, CHILD,
// Doing something that precludes working, may be busy for a while // Doing something that precludes working, may be busy for a while
OTHER OTHER
}; };
// I presume this is the number of states in the following enumeration. // I presume this is the number of states in the following enumeration.
@ -844,9 +844,9 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
// Scan a dwarf's miscellaneous traits for on break or migrant status. // Scan a dwarf's miscellaneous traits for on break or migrant status.
// If either of these are present, disable hauling because we want them // If either of these are present, disable hauling because we want them
// to try to find real jobs first } // to try to find real jobs first
for (auto p = dwarfs[dwarf]->status.misc_traits.begin(); p < dwarfs[dwarf]->status.misc_traits.end(); p++) for (auto p = dwarfs[dwarf]->status.misc_traits.begin(); p < dwarfs[dwarf]->status.misc_traits.end(); p++)
{ {
if ((*p)->id == misc_trait_type::Migrant) if ((*p)->id == misc_trait_type::Migrant)
is_migrant = true; is_migrant = true;
} }