diff options
| author | Timothy Collett | 2012-09-10 09:19:21 -0400 |
|---|---|---|
| committer | Timothy Collett | 2012-09-10 09:19:21 -0400 |
| commit | 274d6038adce5797b58cee78a330eb5d639bf59e (patch) | |
| tree | a80b541fe5352594f5e2d82da50f0d38ddbfedfe /library/RemoteTools.cpp | |
| parent | 270351f510db516811117ab746a563560102c14b (diff) | |
| download | dfhack-274d6038adce5797b58cee78a330eb5d639bf59e.tar.gz dfhack-274d6038adce5797b58cee78a330eb5d639bf59e.tar.bz2 dfhack-274d6038adce5797b58cee78a330eb5d639bf59e.tar.xz | |
Merge further changes (???)
Diffstat (limited to 'library/RemoteTools.cpp')
| -rw-r--r-- | library/RemoteTools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/RemoteTools.cpp b/library/RemoteTools.cpp index 95c495e9..b371d60f 100644 --- a/library/RemoteTools.cpp +++ b/library/RemoteTools.cpp @@ -287,7 +287,7 @@ void DFHack::describeUnit(BasicUnitInfo *info, df::unit *unit, if (mask && mask->profession()) { - if (unit->profession >= 0) + if (unit->profession >= (df::profession)0) info->set_profession(unit->profession); if (!unit->custom_profession.empty()) info->set_custom_profession(unit->custom_profession); |
