From cf9b36d3db42d3f39b0195c885119579c019edd5 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Sun, 18 Sep 2011 20:47:10 +0100 Subject: Fix bug where mouse events are confused after breaking out of a mouse down event diff --git a/src/main.c b/src/main.c index c9761dd..b49842a 100644 --- a/src/main.c +++ b/src/main.c @@ -2526,7 +2526,7 @@ int main(int argc, char *argv[]) } } - bq = b; // bq is previous mouse state + bq = bc; // bq is previous mouse state bc = b = SDL_GetMouseState(&x, &y); // b is current mouse state #ifdef LUACONSOLE -- cgit v0.9.2-21-gd62e