| @@ -126,6 +126,8 @@ void Input::SetMousePos(int2 coord) | |||||
| data->entities[n]->mousepos = (int2)((int3)coord - best->bbox[0]); | data->entities[n]->mousepos = (int2)((int3)coord - best->bbox[0]); | ||||
| if (best != data->lastfocus) | if (best != data->lastfocus) | ||||
| data->entities[n]->pressed = data->buttons; | data->entities[n]->pressed = data->buttons; | ||||
| else | |||||
| data->entities[n]->clicked = 0; | |||||
| } | } | ||||
| else | else | ||||
| { | { | ||||
| @@ -12,6 +12,7 @@ | |||||
| </ItemGroup> | </ItemGroup> | ||||
| <ItemGroup> | <ItemGroup> | ||||
| <ClInclude Include="..\monsterz\board.h" /> | <ClInclude Include="..\monsterz\board.h" /> | ||||
| <ClInclude Include="..\monsterz\fusion.h" /> | |||||
| <ClInclude Include="..\monsterz\interface.h" /> | <ClInclude Include="..\monsterz\interface.h" /> | ||||
| <ClInclude Include="..\monsterz\mash.h" /> | <ClInclude Include="..\monsterz\mash.h" /> | ||||
| <ClInclude Include="..\monsterz\monsterz.h" /> | <ClInclude Include="..\monsterz\monsterz.h" /> | ||||
| @@ -50,6 +51,7 @@ | |||||
| </ItemGroup> | </ItemGroup> | ||||
| <ItemGroup> | <ItemGroup> | ||||
| <ClCompile Include="..\monsterz\board.cpp" /> | <ClCompile Include="..\monsterz\board.cpp" /> | ||||
| <ClCompile Include="..\monsterz\fusion.cpp" /> | |||||
| <ClCompile Include="..\monsterz\interface.cpp" /> | <ClCompile Include="..\monsterz\interface.cpp" /> | ||||
| <ClCompile Include="..\monsterz\mash.cpp" /> | <ClCompile Include="..\monsterz\mash.cpp" /> | ||||
| <ClCompile Include="..\monsterz\monsterz.cpp" /> | <ClCompile Include="..\monsterz\monsterz.cpp" /> | ||||
| @@ -88,6 +88,7 @@ | |||||
| <Filter>lolengine</Filter> | <Filter>lolengine</Filter> | ||||
| </ClInclude> | </ClInclude> | ||||
| <ClInclude Include="..\monsterz\board.h" /> | <ClInclude Include="..\monsterz\board.h" /> | ||||
| <ClInclude Include="..\monsterz\fusion.h" /> | |||||
| <ClInclude Include="..\monsterz\interface.h" /> | <ClInclude Include="..\monsterz\interface.h" /> | ||||
| <ClInclude Include="..\monsterz\piece.h" /> | <ClInclude Include="..\monsterz\piece.h" /> | ||||
| <ClInclude Include="..\monsterz\title.h" /> | <ClInclude Include="..\monsterz\title.h" /> | ||||
| @@ -174,6 +175,7 @@ | |||||
| <Filter>lolengine</Filter> | <Filter>lolengine</Filter> | ||||
| </ClCompile> | </ClCompile> | ||||
| <ClCompile Include="..\monsterz\board.cpp" /> | <ClCompile Include="..\monsterz\board.cpp" /> | ||||
| <ClCompile Include="..\monsterz\fusion.cpp" /> | |||||
| <ClCompile Include="..\monsterz\interface.cpp" /> | <ClCompile Include="..\monsterz\interface.cpp" /> | ||||
| <ClCompile Include="..\monsterz\monsterz.cpp" /> | <ClCompile Include="..\monsterz\monsterz.cpp" /> | ||||
| <ClCompile Include="..\monsterz\piece.cpp" /> | <ClCompile Include="..\monsterz\piece.cpp" /> | ||||