Fix crash when setting fan direction with caps lock on
This commit is contained in:
parent
f3b341c7b2
commit
3bfa39ecf3
@ -2811,7 +2811,7 @@ int create_parts(int x, int y, int rx, int ry, int c)
|
|||||||
{
|
{
|
||||||
i = ox;
|
i = ox;
|
||||||
j = oy;
|
j = oy;
|
||||||
if (((sdl_mod & (KMOD_LALT) && sdl_mod & (KMOD_SHIFT))|| sdl_mod & (KMOD_CAPS) ))
|
if (((sdl_mod & (KMOD_LALT) && sdl_mod & (KMOD_SHIFT))|| ((sdl_mod & (KMOD_CAPS)) && b!=WL_FANHELPER) ))
|
||||||
{
|
{
|
||||||
if (bmap[j][i]==SLALT-100)
|
if (bmap[j][i]==SLALT-100)
|
||||||
b = 0;
|
b = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user