diff --git a/source/glest_game/gui/gui.cpp b/source/glest_game/gui/gui.cpp index cc501604..2d80ac1d 100644 --- a/source/glest_game/gui/gui.cpp +++ b/source/glest_game/gui/gui.cpp @@ -673,9 +673,12 @@ void Gui::mouseDownDisplayUnitSkills(int posDisplay) { if (activeCommandClass == ccAttack) { ct = selection.getUnitFromCC(ccAttack)->getType()->getFirstCtOfClass(activeCommandClass); } + if(activeCommandType!=NULL && activeCommandType->getClass()==ccBuild){ assert(selection.isUniform()); selectingBuilding= true; + selectingPos= false; + activePos= invalidPos; } else if(ct->getClicks()==cOne){ invalidatePosObjWorld();