mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-09-27 21:58:13 +00:00
lmouseover determined correctly in graph editor
This commit is contained in:
parent
2b28c74313
commit
102b9cb4c3
@ -5001,7 +5001,7 @@ void drawthemap() {
|
|||||||
Uint8 *keystate = SDL_GetKeyState(NULL);
|
Uint8 *keystate = SDL_GetKeyState(NULL);
|
||||||
lmouseover = mouseover;
|
lmouseover = mouseover;
|
||||||
bool useRangedOrb = (!(vid.shifttarget & 1) && haveRangedOrb() && lmouseover && lmouseover->cpdist > 1) || (keystate[SDLK_RSHIFT] | keystate[SDLK_LSHIFT]);
|
bool useRangedOrb = (!(vid.shifttarget & 1) && haveRangedOrb() && lmouseover && lmouseover->cpdist > 1) || (keystate[SDLK_RSHIFT] | keystate[SDLK_LSHIFT]);
|
||||||
if(!useRangedOrb && !(cmode & sm::MAP) && DEFAULTCONTROL && !mouseout()) {
|
if(!useRangedOrb && !(cmode & sm::MAP) && !(cmode & sm::DRAW) && DEFAULTCONTROL && !mouseout()) {
|
||||||
void calcMousedest();
|
void calcMousedest();
|
||||||
calcMousedest();
|
calcMousedest();
|
||||||
cellwalker cw = cwt; bool f = flipplayer;
|
cellwalker cw = cwt; bool f = flipplayer;
|
||||||
|
Loading…
Reference in New Issue
Block a user