summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/powder.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/powder.c b/src/powder.c
index 8cdd84c..90438f8 100644
--- a/src/powder.c
+++ b/src/powder.c
@@ -2659,7 +2659,10 @@ int create_parts(int x, int y, int rx, int ry, int c)
if (((sdl_mod & (KMOD_LALT) && sdl_mod & (KMOD_CTRL))|| ((sdl_mod & (KMOD_CAPS)) && b!=WL_FANHELPER) ))
{
if (bmap[j][i]==SLALT-100)
+ {
b = 0;
+ if (SLALT==WL_GRAV) gravwl_timeout = 60;
+ }
else
continue;
}
@@ -2681,6 +2684,7 @@ int create_parts(int x, int y, int rx, int ry, int c)
bmap[j][i] = WL_STREAM;
continue;
}
+ if (b==0 && bmap[j][i]==WL_GRAV) gravwl_timeout = 60;
bmap[j][i] = b;
}
}