]> git.lizzy.rs Git - minetest.git/blobdiff - src/game.h
Lint fix
[minetest.git] / src / game.h
index 4fb198be8a8d3bdb33b6bb44fb2b88ce4813562f..22a8d6f9b4dfb5d35f169ca46ff9696aa3415247 100644 (file)
@@ -17,10 +17,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef GAME_HEADER
-#define GAME_HEADER
+#pragma once
 
-#include "irrlichttypes_extrabloated.h"
+#include "irrlichttypes.h"
 #include <string>
 
 class InputHandler;
@@ -42,7 +41,6 @@ struct GameUIFlags
 void the_game(bool *kill,
                bool random_input,
                InputHandler *input,
-               IrrlichtDevice *device,
                const std::string &map_dir,
                const std::string &playername,
                const std::string &password,
@@ -53,5 +51,3 @@ void the_game(bool *kill,
                bool *reconnect_requested,
                const SubgameSpec &gamespec, // Used for local game
                bool simple_singleplayer_mode);
-
-#endif