diff --git a/source/glest_game/gui/gui.cpp b/source/glest_game/gui/gui.cpp index b5058646..33128a60 100644 --- a/source/glest_game/gui/gui.cpp +++ b/source/glest_game/gui/gui.cpp @@ -287,7 +287,7 @@ void Gui::mouseDownRightGraphics(int x, int y , bool prepared) { } else if(selection.isCommandable()) { if(prepared) { - Vec2i targetPos=game->getMouseCellPos(); + //Vec2i targetPos=game->getMouseCellPos(); givePreparedDefaultOrders(x, y); } else { diff --git a/source/shared_lib/sources/platform/sdl/thread.cpp b/source/shared_lib/sources/platform/sdl/thread.cpp index 387553f1..42d0f3a8 100644 --- a/source/shared_lib/sources/platform/sdl/thread.cpp +++ b/source/shared_lib/sources/platform/sdl/thread.cpp @@ -436,7 +436,7 @@ public: }; const bool debugMutexLock = false; -const int debugMutexLockMillisecondThreshold = 2000; +//const int debugMutexLockMillisecondThreshold = 2000; Mutex::Mutex(string ownerId) { this->isStaticMutexListMutex = false;