projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed handling of R'n'D program filenames with suffix
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index 5f80c5debc113399c863909fe0d9ccf7086b54f1..e82d3667b42958144a01fdce30e24a70a3b8cec9 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-66,7
+66,7
@@
static int FilterEventsExt(const Event *event)
/* do no reset mouse cursor before all pending events have been processed */
if (gfx.cursor_mode == cursor_mode_last &&
/* do no reset mouse cursor before all pending events have been processed */
if (gfx.cursor_mode == cursor_mode_last &&
- ((
effectiveGameStatus()
== GAME_MODE_TITLE &&
+ ((
game_status
== GAME_MODE_TITLE &&
gfx.cursor_mode == CURSOR_NONE) ||
(game_status == GAME_MODE_PLAYING &&
gfx.cursor_mode == CURSOR_PLAYFIELD)))
gfx.cursor_mode == CURSOR_NONE) ||
(game_status == GAME_MODE_PLAYING &&
gfx.cursor_mode == CURSOR_PLAYFIELD)))
@@
-208,7
+208,7
@@
void EventLoop(void)
}
else
{
}
else
{
- if (
effectiveGameStatus()
== GAME_MODE_TITLE)
+ if (
game_status
== GAME_MODE_TITLE)
{
/* when showing title screens, hide mouse pointer (if not moved) */
{
/* when showing title screens, hide mouse pointer (if not moved) */