projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20060804-1-src
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 2b4c7c0d02b75cf1a5453c9d2c83c24057d7fa79..54ae41a2fe154713af63ac92fde530b6895d8a62 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-10401,7
+10401,7
@@
static void CheckGravityMovement(struct PlayerInfo *player)
{
int move_dir_horizontal = player->effective_action & MV_HORIZONTAL;
int move_dir_vertical = player->effective_action & MV_VERTICAL;
{
int move_dir_horizontal = player->effective_action & MV_HORIZONTAL;
int move_dir_vertical = player->effective_action & MV_VERTICAL;
- boolean player_is_snapping =
player->effective_action & JOY_BUTTON_1
;
+ boolean player_is_snapping =
(player->effective_action & JOY_BUTTON_1)
;
int jx = player->jx, jy = player->jy;
boolean player_is_moving_to_valid_field =
(!player_is_snapping &&
int jx = player->jx, jy = player->jy;
boolean player_is_moving_to_valid_field =
(!player_is_snapping &&