summaryrefslogtreecommitdiff
path: root/plugins/regrass.cpp
diff options
context:
space:
mode:
authorQuietust2012-01-11 10:31:23 -0600
committerQuietust2012-01-11 10:31:23 -0600
commita3d2cf3a85457109d003d8b9dced3709d9c072ec (patch)
tree9cd45a01a0105bdf54ea7d6bd6c8cb221841489c /plugins/regrass.cpp
parentb0be2f55c6f164df8f137602db216c427cb45413 (diff)
downloaddfhack-a3d2cf3a85457109d003d8b9dced3709d9c072ec.tar.gz
dfhack-a3d2cf3a85457109d003d8b9dced3709d9c072ec.tar.bz2
dfhack-a3d2cf3a85457109d003d8b9dced3709d9c072ec.tar.xz
Minor cleanup
Diffstat (limited to 'plugins/regrass.cpp')
-rw-r--r--plugins/regrass.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/regrass.cpp b/plugins/regrass.cpp
index bd227638..99af1de7 100644
--- a/plugins/regrass.cpp
+++ b/plugins/regrass.cpp
@@ -7,16 +7,15 @@
#include <PluginManager.h>
#include <DataDefs.h>
+#include "df/world.h"
+#include "df/map_block.h"
#include <TileTypes.h>
-#include <df/world.h>
-#include <df/map_block.h>
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 <string> & parameters)
{
@@ -28,7 +27,7 @@ DFhackCExport command_result df_regrass (Core * c, vector <string> & 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++)