From eaef2ce48a36a786dc60248dcc5e746865570b2d Mon Sep 17 00:00:00 2001 From: oy Date: Tue, 22 Mar 2011 00:31:42 +0100 Subject: added notification for unsaved map data and a confirmation for overwriting an existing map in the editor. Closes #115 --- src/game/client/gameclient.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/client/gameclient.cpp') diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 20fad034..a7e9e66f 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -1,5 +1,6 @@ /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ +#include #include #include #include @@ -113,6 +114,7 @@ void CGameClient::OnConsoleInit() m_pDemoPlayer = Kernel()->RequestInterface(); m_pDemoRecorder = Kernel()->RequestInterface(); m_pServerBrowser = Kernel()->RequestInterface(); + m_pEditor = Kernel()->RequestInterface(); // setup pointers m_pBinds = &::gs_Binds; -- cgit 1.4.1