Skip to content

Commit

Permalink
Add support for DF 0.44.11's new messenger occupation.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLubar committed Jun 29, 2018
1 parent 776702d commit a544e33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions render_figure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,9 @@ bool WebLegends::render_figure(std::ostream & s, int32_t id, int32_t page)
case occupation_type::SCRIBE:
s << "scribe";
BREAK(occ);
case occupation_type::MESSENGER:
s << "messenger";
BREAK(occ);
}
AFTER_SWITCH(occ, stl_sprintf("fig-%d (current) occ=%d loc=site-%d/bld-%d", id, l->occupation_id, occupation->site_id, occupation->location_id));
s << " at ";
Expand Down Expand Up @@ -425,6 +428,9 @@ bool WebLegends::render_figure(std::ostream & s, int32_t id, int32_t page)
case occupation_type::SCRIBE:
s << "scribe";
BREAK(occ);
case occupation_type::MESSENGER:
s << "messenger";
BREAK(occ);
}
AFTER_SWITCH(occ, stl_sprintf("fig-%d (former) occ=%d loc=site-%d/bld-%d", id, l->occupation_id, occupation->site_id, occupation->location_id));
s << " at ";
Expand Down

0 comments on commit a544e33

Please sign in to comment.