mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
when in map/draw editor and holdmouse is on and animations, call handlekey so that a line is drawn
This commit is contained in:
parent
53487f32ff
commit
bf9fdd9a88
@ -1039,8 +1039,12 @@ EX void mainloopiter() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if((cmode & (sm::DRAW | sm::MAP)) && holdmouse && anims::ma && mouseover)
|
||||||
|
handlekey(getcstat, getcstat);
|
||||||
|
|
||||||
while(SDL_PollEvent(&ev)) handle_event(ev);
|
while(SDL_PollEvent(&ev)) handle_event(ev);
|
||||||
fix_mouseh();
|
fix_mouseh();
|
||||||
|
|
||||||
#if CAP_SDLJOY
|
#if CAP_SDLJOY
|
||||||
if(joydir.d != -1) checkjoy();
|
if(joydir.d != -1) checkjoy();
|
||||||
if(joystick_done && joythread) { joythread->join(); delete joythread; joystick_done = false; }
|
if(joystick_done && joythread) { joythread->join(); delete joythread; joystick_done = false; }
|
||||||
|
Loading…
Reference in New Issue
Block a user