From 99c9e7a9864a8da5aaf97e615d2bdefa1295497a Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Sat, 13 Jan 2018 10:54:18 +0100 Subject: 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 --- src/gui/guiFormSpecMenu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/guiFormSpecMenu.h') 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, -- cgit v1.2.3