From f651273ebf2a8b11aa01ed1434ecb613177ced6a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 2 Aug 2015 16:13:36 +0300 Subject: Add gui mode for dyecmd. Now only basic code added. --- src/net/ipc.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net') diff --git a/src/net/ipc.cpp b/src/net/ipc.cpp index f6df452ac..e4a70abc8 100644 --- a/src/net/ipc.cpp +++ b/src/net/ipc.cpp @@ -187,6 +187,8 @@ void IPC::flush() if (!mThreadLocked) { SDL_mutexP(mMutex); +#ifndef DYECMD +// probably need enable only commands in tool if (chatWindow) { FOR_EACH (std::vector::const_iterator, it, @@ -195,6 +197,7 @@ void IPC::flush() chatWindow->chatInput(*it); } } +#endif mDelayedCommands.clear(); SDL_mutexV(mMutex); } -- cgit v1.2.3-70-g09d2