summaryrefslogtreecommitdiff
path: root/src/powder.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-07-12 08:35:55 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-07-12 13:48:54 (GMT)
commit1be79e581d31f1c40051f916128ecbce64f80022 (patch)
treee32e4f69e93cb62b182adee46cf3552f487b23fd /src/powder.c
parent726acc96a098927e84ecd781f6ecd3043b8f4a2d (diff)
downloadpowder-1be79e581d31f1c40051f916128ecbce64f80022.zip
powder-1be79e581d31f1c40051f916128ecbce64f80022.tar.gz
Line snapping (hold down Alt when drawing a line)
Specific element select changed to Ctrl+Alt
Diffstat (limited to 'src/powder.c')
-rw-r--r--src/powder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/powder.c b/src/powder.c
index e1457c7..2a72fee 100644
--- a/src/powder.c
+++ b/src/powder.c
@@ -2641,7 +2641,7 @@ int create_parts(int x, int y, int rx, int ry, int c)
{
i = ox;
j = oy;
- if (((sdl_mod & (KMOD_LALT) && sdl_mod & (KMOD_SHIFT))|| ((sdl_mod & (KMOD_CAPS)) && b!=WL_FANHELPER) ))
+ if (((sdl_mod & (KMOD_LALT) && sdl_mod & (KMOD_CTRL))|| ((sdl_mod & (KMOD_CAPS)) && b!=WL_FANHELPER) ))
{
if (bmap[j][i]==SLALT-100)
b = 0;
@@ -2673,8 +2673,8 @@ int create_parts(int x, int y, int rx, int ry, int c)
return 1;
}
- //if SHIFT+ALT or CAPSLOCK is on, specific delete
- if (((sdl_mod & (KMOD_LALT) && sdl_mod & (KMOD_SHIFT))|| sdl_mod & (KMOD_CAPS) )&& !REPLACE_MODE)
+ //if CTRL+ALT or CAPSLOCK is on, specific delete
+ if (((sdl_mod & (KMOD_LALT) && sdl_mod & (KMOD_CTRL))|| sdl_mod & (KMOD_CAPS) )&& !REPLACE_MODE)
{
if (rx==0&&ry==0)
{