From a3d2cf3a85457109d003d8b9dced3709d9c072ec Mon Sep 17 00:00:00 2001 From: Quietust Date: Wed, 11 Jan 2012 10:31:23 -0600 Subject: [PATCH] Minor cleanup --- plugins/regrass.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/regrass.cpp b/plugins/regrass.cpp index bd227638e..99af1de7f 100644 --- a/plugins/regrass.cpp +++ b/plugins/regrass.cpp @@ -7,16 +7,15 @@ #include #include +#include "df/world.h" +#include "df/map_block.h" #include -#include -#include using std::string; using std::vector; using namespace DFHack; using df::global::world; -using df::map_block; DFhackCExport command_result df_regrass (Core * c, vector & parameters) { @@ -28,7 +27,7 @@ DFhackCExport command_result df_regrass (Core * c, vector & parameters) int count = 0; for (int i = 0; i < world->map.map_blocks.size(); i++) { - map_block *cur = world->map.map_blocks[i]; + df::map_block *cur = world->map.map_blocks[i]; for (int x = 0; x < 16; x++) { for (int y = 0; y < 16; y++)