projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved (and renamed) global variables to game structure (ExitX/ExitY)
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index 73624accacbaebe9c87d0aac6c6a090d2bf97af3..ef78d9c9b09979d7d376a29cb772694be6d83b14 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-2039,7
+2039,7
@@
void HandleKey(Key key, int key_status)
return;
}
return;
}
- if (game_status == GAME_MODE_PLAYING &&
AllPlayersG
one &&
+ if (game_status == GAME_MODE_PLAYING &&
game.all_players_g
one &&
(key == KSYM_Return || key == setup.shortcut.toggle_pause))
{
GameEnd();
(key == KSYM_Return || key == setup.shortcut.toggle_pause))
{
GameEnd();
@@
-2425,7
+2425,7
@@
void HandleJoystick(void)
newbutton = ((joy & JOY_BUTTON) != 0);
#endif
newbutton = ((joy & JOY_BUTTON) != 0);
#endif
- if (newbutton &&
AllPlayersG
one)
+ if (newbutton &&
game.all_players_g
one)
{
GameEnd();
{
GameEnd();