diff options
| author | Robert Heinrich | 2012-04-14 13:36:22 +0200 |
|---|---|---|
| committer | Robert Heinrich | 2012-04-14 13:36:22 +0200 |
| commit | 2100a95ad546ad0d4c85483e96357924c05c8b51 (patch) | |
| tree | f584e6075dedb426913393c95cccd06a31febc4d /plugins/zone.cpp | |
| parent | fba83bb5970e61e5c25158e10700cd8a529786cf (diff) | |
| download | dfhack-2100a95ad546ad0d4c85483e96357924c05c8b51.tar.gz dfhack-2100a95ad546ad0d4c85483e96357924c05c8b51.tar.bz2 dfhack-2100a95ad546ad0d4c85483e96357924c05c8b51.tar.xz | |
zone: fixed major derp (assign commands would accidentally free caged creatures). tweak: added cheat to kidnap caravan escorts (works fine even for other races, does NOT work for traders because they can't be assigned any labors for whatever reason)
Diffstat (limited to 'plugins/zone.cpp')
| -rw-r--r-- | plugins/zone.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/zone.cpp b/plugins/zone.cpp index c668abe9..1e90aa1c 100644 --- a/plugins/zone.cpp +++ b/plugins/zone.cpp @@ -963,7 +963,6 @@ bool isInBuiltCage(df::unit* unit) { if(oldcage->assigned_creature[oc] == unit->id) { - oldcage->assigned_creature.erase(oldcage->assigned_creature.begin() + oc); caged = true; break; } |
