summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/requesttrade.cpp3
-rw-r--r--src/gui/requesttrade.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/requesttrade.cpp b/src/gui/requesttrade.cpp
index 151a7514..4d9fe919 100644
--- a/src/gui/requesttrade.cpp
+++ b/src/gui/requesttrade.cpp
@@ -23,9 +23,10 @@
#include "requesttrade.h"
#include "button.h"
-#include "../game.h"
#include "../net/network.h"
+bool requestTradeDialogOpen = false;
+
RequestTradeDialog::RequestTradeDialog(const char *name):
Window("Request for Trade", true)
{
diff --git a/src/gui/requesttrade.h b/src/gui/requesttrade.h
index 3573cb69..3ec36f6a 100644
--- a/src/gui/requesttrade.h
+++ b/src/gui/requesttrade.h
@@ -30,6 +30,8 @@
#include <sstream>
#include "window.h"
+extern bool requestTradeDialogOpen;
+
/**
* The request trade dialog.
*