1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-07 21:16:48 +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:
Zeno Rogue 2024-06-29 10:48:05 +02:00
parent 53487f32ff
commit bf9fdd9a88

View File

@ -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; }