aboutsummaryrefslogtreecommitdiff
path: root/src/gui/cheatMenu.h
diff options
context:
space:
mode:
authorJosiah <josiah_vanderzee@mediacombb.net>2020-10-21 09:16:32 -0500
committerJosiah <josiah_vanderzee@mediacombb.net>2020-10-21 09:16:32 -0500
commitb211e90ffcabefc3c75cf00ee053970951f01488 (patch)
tree019b3ae20bfc0414c29dc229c93c01701e2f8434 /src/gui/cheatMenu.h
parentf605308ee3da739aee2a690c870c5b567d11d859 (diff)
downloaddragonfireclient-b211e90ffcabefc3c75cf00ee053970951f01488.tar.xz
Prepare cheatMenu::draw function for easier UI changes.
Diffstat (limited to 'src/gui/cheatMenu.h')
-rw-r--r--src/gui/cheatMenu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/cheatMenu.h b/src/gui/cheatMenu.h
index e7fb4dc93..e42edfbb0 100644
--- a/src/gui/cheatMenu.h
+++ b/src/gui/cheatMenu.h
@@ -42,6 +42,11 @@ class CheatMenu
public:
CheatMenu(Client *client);
+ Client* getScript()
+ {
+ return m_client->getScript();
+ }
+
void draw(video::IVideoDriver *driver, bool show_debug);
void drawEntry(video::IVideoDriver *driver, std::string name,