diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2018-01-13 10:54:18 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-01-20 16:38:38 +0100 |
commit | 99c9e7a9864a8da5aaf97e615d2bdefa1295497a (patch) | |
tree | ce9fbbc2acb2a69f8811ce475d469673fc2953e4 /src/gui/guiFormSpecMenu.h | |
parent | f5a006dce7896d9241b7d21df77825c1c5decc88 (diff) | |
download | minetest-99c9e7a9864a8da5aaf97e615d2bdefa1295497a.tar.gz minetest-99c9e7a9864a8da5aaf97e615d2bdefa1295497a.tar.bz2 minetest-99c9e7a9864a8da5aaf97e615d2bdefa1295497a.zip |
Game refactor [4/X]: keycache is now owned by InputHandler
* Make InputHandler own the key cache
* Add a helper function InputHandler::cancelPressed to avoid multiple similar calls in game.cpp
* Move RandomInputHandler::step definition into cpp file
Diffstat (limited to 'src/gui/guiFormSpecMenu.h')
-rw-r--r-- | src/gui/guiFormSpecMenu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/guiFormSpecMenu.h b/src/gui/guiFormSpecMenu.h index 9cd98f806..8b16f24cf 100644 --- a/src/gui/guiFormSpecMenu.h +++ b/src/gui/guiFormSpecMenu.h @@ -291,7 +291,7 @@ public: ~GUIFormSpecMenu(); - static void create(GUIFormSpecMenu **cur_formspec, Client *client, + static void create(GUIFormSpecMenu *&cur_formspec, Client *client, JoystickController *joystick, IFormSource *fs_src, TextDest *txt_dest); void setFormSpec(const std::string &formspec_string, |