diff options
| author | Quietust | 2012-02-04 16:38:54 -0600 |
|---|---|---|
| committer | Quietust | 2012-02-04 16:38:54 -0600 |
| commit | 4c8717477cc2b9a63ff880e15dd4e6053693a221 (patch) | |
| tree | a436b4708faf12f4e63a3e04180ce50fe3b77863 /plugins/getplants.cpp | |
| parent | 5ad9274689c8b3bb533d6149a51db87d62fa42d6 (diff) | |
| download | dfhack-4c8717477cc2b9a63ff880e15dd4e6053693a221.tar.gz dfhack-4c8717477cc2b9a63ff880e15dd4e6053693a221.tar.bz2 dfhack-4c8717477cc2b9a63ff880e15dd4e6053693a221.tar.xz | |
Fix really stupid typo
Diffstat (limited to 'plugins/getplants.cpp')
| -rw-r--r-- | plugins/getplants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/getplants.cpp b/plugins/getplants.cpp index d925f4b6..b8f607c8 100644 --- a/plugins/getplants.cpp +++ b/plugins/getplants.cpp @@ -92,7 +92,7 @@ DFhackCExport command_result df_getplants (Core * c, vector <string> & parameter bool dirty = false; for (size_t j = 0; j < cur->plants.size(); j++) { - const df::plant *plant = cur->plants[i]; + const df::plant *plant = cur->plants[j]; int x = plant->pos.x % 16; int y = plant->pos.y % 16; if (plantIDs.find(plant->material) != plantIDs.end()) |
