diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-02 16:13:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-03 21:50:05 +0300 |
commit | f651273ebf2a8b11aa01ed1434ecb613177ced6a (patch) | |
tree | c51d2bed1476270e27ad95c5a46e15af32eaccdd /src/net/ipc.cpp | |
parent | 30846b7f68f1ad05a0719ae37f75fd2901a6545a (diff) | |
download | plus-f651273ebf2a8b11aa01ed1434ecb613177ced6a.tar.gz plus-f651273ebf2a8b11aa01ed1434ecb613177ced6a.tar.bz2 plus-f651273ebf2a8b11aa01ed1434ecb613177ced6a.tar.xz plus-f651273ebf2a8b11aa01ed1434ecb613177ced6a.zip |
Add gui mode for dyecmd. Now only basic code added.
Diffstat (limited to 'src/net/ipc.cpp')
-rw-r--r-- | src/net/ipc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<std::string>::const_iterator, it, @@ -195,6 +197,7 @@ void IPC::flush() chatWindow->chatInput(*it); } } +#endif mDelayedCommands.clear(); SDL_mutexV(mMutex); } |