projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed bug with handling networking packets if request dialog is active
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index f89b2b250eeebc8a7d087043e05e344ce6fc2f0c..e9d11c13c2a1f29398e6b88a8e957781206ac372 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-4243,6
+4243,8
@@
static int RequestHandleEvents(unsigned int req_state)
int sx, sy;
int result;
+ game.request_active = TRUE;
+
setRequestPosition(&sx, &sy, FALSE);
button_status = MB_RELEASED;
@@
-4543,6
+4545,8
@@
static int RequestHandleEvents(unsigned int req_state)
BackToFront();
}
+ game.request_active = FALSE;
+
return result;
}