diff options
| author | Robert Heinrich | 2012-04-16 21:37:48 +0200 |
|---|---|---|
| committer | Robert Heinrich | 2012-04-16 21:37:48 +0200 |
| commit | 6d180d61c483350d19f08c5cdb74edd4aaff21da (patch) | |
| tree | 191ff19a766fe40066e8948c9a5279215fba983d /plugins/probe.cpp | |
| parent | 70ebd26e6cab3cd7b40c13039016904f1ed69e0a (diff) | |
| download | dfhack-6d180d61c483350d19f08c5cdb74edd4aaff21da.tar.gz dfhack-6d180d61c483350d19f08c5cdb74edd4aaff21da.tar.bz2 dfhack-6d180d61c483350d19f08c5cdb74edd4aaff21da.tar.xz | |
autopasture: only process domesticated own units to avoid problems with wild animals forgetting their training and going on a rampage
Diffstat (limited to 'plugins/probe.cpp')
| -rw-r--r-- | plugins/probe.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/probe.cpp b/plugins/probe.cpp index cb627c8a..3f4a3b6f 100644 --- a/plugins/probe.cpp +++ b/plugins/probe.cpp @@ -382,6 +382,10 @@ command_result df_bprobe (color_ostream &out, vector <string> & parameters) out.print(", subtype %i", building.subtype); break; } + if(building.origin->isRoom()) + out << ", is room"; + else + out << ", not a room"; out.print("\n"); } |
