diff options
| author | Alexander Gavrilov | 2012-04-21 12:46:55 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-04-21 12:46:55 +0400 |
| commit | adbd351462f71db6a98b681eb9336524cc530092 (patch) | |
| tree | 774f2a4206ea487acfb1af183f9d49b8e5730dfd /library/RemoteTools.cpp | |
| parent | 0a6982f4041f43d571bd2690f148ff369f2d8038 (diff) | |
| download | dfhack-adbd351462f71db6a98b681eb9336524cc530092.tar.gz dfhack-adbd351462f71db6a98b681eb9336524cc530092.tar.bz2 dfhack-adbd351462f71db6a98b681eb9336524cc530092.tar.xz | |
Rename units.other[0] to units.active.
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 5e11e062..b72c0c91 100644 --- a/library/RemoteTools.cpp +++ b/library/RemoteTools.cpp @@ -402,7 +402,7 @@ static command_result GetWorldInfo(color_ostream &stream, case GAMETYPE_ADVENTURE_MAIN: out->set_mode(GetWorldInfoOut::MODE_ADVENTURE); - if (auto unit = vector_get(world->units.other[0], 0)) + if (auto unit = vector_get(world->units.active, 0)) out->set_player_unit_id(unit->id); if (!ui_advmode) |
