|
|
@ -497,8 +497,16 @@ struct mousequery_hook : public df::viewscreen_dwarfmodest
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
Gui::setCursorCoords(mpos.x, mpos.y, mpos.z);
|
|
|
|
Gui::setCursorCoords(mpos.x, mpos.y, mpos.z);
|
|
|
|
sendKey(interface_key::CURSOR_DOWN_Z);
|
|
|
|
if (mpos.z == 0)
|
|
|
|
sendKey(interface_key::CURSOR_UP_Z);
|
|
|
|
{
|
|
|
|
|
|
|
|
sendKey(interface_key::CURSOR_UP_Z);
|
|
|
|
|
|
|
|
sendKey(interface_key::CURSOR_DOWN_Z);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
sendKey(interface_key::CURSOR_DOWN_Z);
|
|
|
|
|
|
|
|
sendKey(interface_key::CURSOR_UP_Z);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool inBuildPlacement()
|
|
|
|
bool inBuildPlacement()
|
|
|
|