diff options
| author | Alexander Gavrilov | 2012-05-01 18:55:30 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-05-01 18:55:30 +0400 |
| commit | 4cffb6428d5e25b0c3cb09044f65dbf5d43667e9 (patch) | |
| tree | 5a78cac5f5c3bfb1e9004c451f97adcae4b6571d /plugins/zone.cpp | |
| parent | 2303a25bdefab30bea67f32d27d35e5002448e8a (diff) | |
| download | dfhack-4cffb6428d5e25b0c3cb09044f65dbf5d43667e9.tar.gz dfhack-4cffb6428d5e25b0c3cb09044f65dbf5d43667e9.tar.bz2 dfhack-4cffb6428d5e25b0c3cb09044f65dbf5d43667e9.tar.xz | |
Update building creation code with new knowledge, and fix zone.
Also, document new lua api, and add a more convenient wrapper.
Diffstat (limited to 'plugins/zone.cpp')
| -rw-r--r-- | plugins/zone.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/zone.cpp b/plugins/zone.cpp index ee6abf32..4314aa1e 100644 --- a/plugins/zone.cpp +++ b/plugins/zone.cpp @@ -1606,8 +1606,8 @@ void zoneInfo(color_ostream & out, df::building* building, bool verbose) out << ", pen/pasture"; else if (civ->zone_flags.bits.pit_pond) { - out << " (pit flags:" << civ->pit_flags << ")"; - if(civ->pit_flags & 1) + out << " (pit flags:" << civ->pit_flags.whole << ")"; + if(civ->pit_flags.bits.is_pond) out << ", pond"; else out << ", pit"; |
