summaryrefslogtreecommitdiff
path: root/plugins/probe.cpp
diff options
context:
space:
mode:
authorQuietust2012-03-15 20:09:56 -0500
committerQuietust2012-03-15 20:09:56 -0500
commit4d66218783a6285ae2aab9f6c9e8631295cff22f (patch)
treef548d78b678051f3a8d0acc90074d7d563219f9e /plugins/probe.cpp
parentc72fb76316f436eb5987687f7c5b3f68f24cc817 (diff)
downloaddfhack-4d66218783a6285ae2aab9f6c9e8631295cff22f.tar.gz
dfhack-4d66218783a6285ae2aab9f6c9e8631295cff22f.tar.bz2
dfhack-4d66218783a6285ae2aab9f6c9e8631295cff22f.tar.xz
Update bprobe to print civzone subtypes
Diffstat (limited to 'plugins/probe.cpp')
-rw-r--r--plugins/probe.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/probe.cpp b/plugins/probe.cpp
index 6b6d406c..bff61268 100644
--- a/plugins/probe.cpp
+++ b/plugins/probe.cpp
@@ -304,6 +304,9 @@ command_result df_bprobe (color_ostream &out, vector <string> & parameters)
switch (building.type)
{
+ case building_type::Civzone:
+ out.print(", subtype %s", ENUM_KEY_STR(civzone_type, building.civzone_type));
+ break;
case building_type::Furnace:
out.print(", subtype %s", ENUM_KEY_STR(furnace_type, building.furnace_type));
if (building.furnace_type == furnace_type::Custom)