From 175b3ed0600f1016a56b09c1ddcd5093474eb6c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 8 Jan 2012 16:18:31 +0100 Subject: [PATCH] Fix getplants - duplicate variable. --- library/xml | 2 +- plugins/getplants.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/xml b/library/xml index b93b61a98..c2caba7eb 160000 --- a/library/xml +++ b/library/xml @@ -1 +1 @@ -Subproject commit b93b61a988020a4aaa0103cefcee0217c37ce7b0 +Subproject commit c2caba7eb15896d56163620e9ace1fb67ae953cb diff --git a/plugins/getplants.cpp b/plugins/getplants.cpp index e35c3d517..5643676aa 100644 --- a/plugins/getplants.cpp +++ b/plugins/getplants.cpp @@ -89,7 +89,7 @@ DFhackCExport command_result df_getplants (Core * c, vector & parameter return CR_OK; } - int count = 0; + count = 0; for (int i = 0; i < world->map.map_blocks.size(); i++) { df::map_block *cur = world->map.map_blocks[i];