mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 01:17:39 +00:00
rogueviz::seuphorica:: fixed board-to-hand move
This commit is contained in:
@@ -382,8 +382,9 @@ void seuphorica_screen() {
|
|||||||
swap(drawn[tile_boxid], drawn[0]);
|
swap(drawn[tile_boxid], drawn[0]);
|
||||||
back_to_shop();
|
back_to_shop();
|
||||||
}
|
}
|
||||||
if(box_moved == &drawn && current_box == &drawn && tile_moved_from == mouseover && hold_mode == 1) {
|
if(box_moved == &drawn && current_box == nullptr && tile_moved_from == mouseover && hold_mode == 1) {
|
||||||
/* do nothing, it was already removed from the boaud */
|
/* do nothing, it was already removed from the board */
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if(box_moved == &drawn && current_box == nullptr) {
|
if(box_moved == &drawn && current_box == nullptr) {
|
||||||
auto at = from(mouseover);
|
auto at = from(mouseover);
|
||||||
|
Reference in New Issue
Block a user