From e3a8aa09611d26c3c6cc9879ebf212e0989dd73e Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 3 Feb 2011 01:28:45 +0000 Subject: [PATCH] Start working on a new gameplay, codenamed "Fusion". --- src/input.cpp | 2 ++ win32/monsterz.vcxproj | 2 ++ win32/monsterz.vcxproj.filters | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/input.cpp b/src/input.cpp index 62209f45..7c6779e2 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -126,6 +126,8 @@ void Input::SetMousePos(int2 coord) data->entities[n]->mousepos = (int2)((int3)coord - best->bbox[0]); if (best != data->lastfocus) data->entities[n]->pressed = data->buttons; + else + data->entities[n]->clicked = 0; } else { diff --git a/win32/monsterz.vcxproj b/win32/monsterz.vcxproj index d32b7e69..ea01e1e2 100644 --- a/win32/monsterz.vcxproj +++ b/win32/monsterz.vcxproj @@ -12,6 +12,7 @@ + @@ -50,6 +51,7 @@ + diff --git a/win32/monsterz.vcxproj.filters b/win32/monsterz.vcxproj.filters index af99bcba..ae5f5236 100644 --- a/win32/monsterz.vcxproj.filters +++ b/win32/monsterz.vcxproj.filters @@ -88,6 +88,7 @@ lolengine + @@ -174,6 +175,7 @@ lolengine +