diff options
author | Kahrl <kahrl@gmx.net> | 2013-08-11 04:09:45 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-08-14 21:03:33 +0200 |
commit | 4e1f50035e860a00636ca5d804c267119df99601 (patch) | |
tree | c6cab522305ef2a5b9cfdb3685340d57590f1ff1 /src/game.cpp | |
parent | 6228d634fb31d1ce925d1fdc2dac022629a007ef (diff) | |
download | dragonfireclient-4e1f50035e860a00636ca5d804c267119df99601.tar.xz |
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp index 7954c8d80..650b5e2f8 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -915,7 +915,6 @@ void the_game( std::string address, // If "", local server is used u16 port, std::wstring &error_message, - std::string configpath, ChatBackend &chat_backend, const SubgameSpec &gamespec, // Used for local game, bool simple_singleplayer_mode @@ -1001,7 +1000,7 @@ void the_game( draw_load_screen(text, device, font,0,25); delete[] text; infostream<<"Creating server"<<std::endl; - server = new Server(map_dir, configpath, gamespec, + server = new Server(map_dir, gamespec, simple_singleplayer_mode); server->start(port); } @@ -3340,7 +3339,7 @@ void the_game( */ { TimeTaker timer("endScene"); - endSceneX(driver); + driver->endScene(); endscenetime = timer.stop(true); } |