mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +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;
|
||||
}
|
||||
|
||||
if((cmode & (sm::DRAW | sm::MAP)) && holdmouse && anims::ma && mouseover)
|
||||
handlekey(getcstat, getcstat);
|
||||
|
||||
while(SDL_PollEvent(&ev)) handle_event(ev);
|
||||
fix_mouseh();
|
||||
|
||||
#if CAP_SDLJOY
|
||||
if(joydir.d != -1) checkjoy();
|
||||
if(joystick_done && joythread) { joythread->join(); delete joythread; joystick_done = false; }
|
||||
|
Loading…
Reference in New Issue
Block a user