summaryrefslogtreecommitdiff
path: root/src/squeltch.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-05 18:49:38 +0200
commit1bbed63b66c0f69809e698576a51501150f06bba (patch)
treef458361c0c2e7dac2502b1aace63d83d5dbd15b4 /src/squeltch.cc
parentb9fca0267b1d6a32d57e1fb4387f52c19d1c3fa6 (diff)
Move k_info into GameEditData
Diffstat (limited to 'src/squeltch.cc')
-rw-r--r--src/squeltch.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/squeltch.cc b/src/squeltch.cc
index eed3bf1b..43f566ea 100644
--- a/src/squeltch.cc
+++ b/src/squeltch.cc
@@ -11,6 +11,7 @@
#include "cave_type.hpp"
#include "files.hpp"
+#include "game.hpp"
#include "loadsave.hpp"
#include "lua_bind.hpp"
#include "object1.hpp"
@@ -58,6 +59,8 @@ static squelch::Automatizer *automatizer = nullptr;
void squeltch_grid(void)
{
+ auto const &k_info = game->edit_data.k_info;
+
if (!automatizer_enabled)
{
return;