diff options
author | realOneplustwo <66292167+realOneplustwo@users.noreply.github.com> | 2020-10-21 16:58:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 16:58:26 -0700 |
commit | 519f98c65f1190482724bde4555ff013f28a6c5d (patch) | |
tree | b132566f9eeee1f9e3a746db4755a07d7a292360 /src/gui/cheatMenu.h | |
parent | 7af3dee31c078d1f92fb241ddbaac4107d55d3e5 (diff) | |
parent | f236476af96cfc468d0a76a2f8215f566d1b7de1 (diff) | |
download | dragonfireclient-519f98c65f1190482724bde4555ff013f28a6c5d.tar.xz |
Merge pull request #3 from JosiahWI/ui_revamp
Fix errors in cheatMenu.
Diffstat (limited to 'src/gui/cheatMenu.h')
-rw-r--r-- | src/gui/cheatMenu.h | 8 |
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 +}; |