aboutsummaryrefslogtreecommitdiff
path: root/src/gui/cheatMenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/cheatMenu.h')
-rw-r--r--src/gui/cheatMenu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/cheatMenu.h b/src/gui/cheatMenu.h
index 018b63ae0..dfe92798b 100644
--- a/src/gui/cheatMenu.h
+++ b/src/gui/cheatMenu.h
@@ -16,7 +16,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once
+#include "client/client.h"
#include "irrlichttypes_extrabloated.h"
+#include "script/scripting_client.h"
#include <cstddef>
#include <string>
@@ -25,8 +27,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
if (!script || !script->m_cheats_loaded) \
return;
-class Client;
-
enum CheatMenuEntryType
{
CHEAT_MENU_ENTRY_TYPE_HEAD,
@@ -39,7 +39,7 @@ class CheatMenu
public:
CheatMenu(Client *client);
- Client* getScript()
+ ClientScripting *getScript()
{
return m_client->getScript();
}
@@ -76,4 +76,4 @@ private:
gui::IGUIFont *m_font = nullptr;
v2u32 m_fontsize;
-}; \ No newline at end of file
+};