From 8660355838ea954a38dca49ca1c1a18bc5e231ac Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Tue, 8 Sep 2020 21:30:12 -0700 Subject: [PATCH] formally declare used globals in fortplan --- plugins/fortplan.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/fortplan.cpp b/plugins/fortplan.cpp index ccaab18c3..72d11b78a 100644 --- a/plugins/fortplan.cpp +++ b/plugins/fortplan.cpp @@ -15,6 +15,9 @@ #include "uicommon.h" DFHACK_PLUGIN("fortplan"); +REQUIRE_GLOBAL(gps); +REQUIRE_GLOBAL(world); + #define PLUGIN_VERSION 0.15 using namespace std;