1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-08 03:36:43 +00:00

rogueviz::seuphorica:: fixed board-to-hand move

This commit is contained in:
Zeno Rogue 2025-03-03 20:48:52 +01:00
parent 893af13c71
commit 4bfe099433

View File

@ -382,8 +382,9 @@ void seuphorica_screen() {
swap(drawn[tile_boxid], drawn[0]);
back_to_shop();
}
if(box_moved == &drawn && current_box == &drawn && tile_moved_from == mouseover && hold_mode == 1) {
/* do nothing, it was already removed from the boaud */
if(box_moved == &drawn && current_box == nullptr && tile_moved_from == mouseover && hold_mode == 1) {
/* do nothing, it was already removed from the board */
return;
}
if(box_moved == &drawn && current_box == nullptr) {
auto at = from(mouseover);