From 865e8ad6ca3d83ad2a585ceeb1809e9f68c18a20 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Thu, 26 May 2005 13:40:38 +0000 Subject: Add origin-shifting (Shift+cursors) and source-shifting (Ctrl+cursors) to Net. (Adding modifier+cursors handling has had minor knock-on effects on the other puzzles, so that they can continue to ignore modifiers.) (An unfortunate side effect of this is some artifacts in exterior barrier drawing; notably, a disconnected corner can now appear at the corner of the grid under some circumstances. I haven't found a satisfactory way round this yet.) [originally from svn r5844] --- solo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'solo.c') diff --git a/solo.c b/solo.c index ad6c2f4..6a964ea 100644 --- a/solo.c +++ b/solo.c @@ -1828,7 +1828,7 @@ static game_state *make_move(game_state *from, game_ui *ui, int x, int y, int tx, ty; game_state *ret; - button &= ~MOD_NUM_KEYPAD; /* we treat this the same as normal */ + button &= ~MOD_MASK; tx = (x + TILE_SIZE - BORDER) / TILE_SIZE - 1; ty = (y + TILE_SIZE - BORDER) / TILE_SIZE - 1; -- cgit v1.1