equal
deleted
inserted
replaced
372 case WE_PLACE_DRAG: |
372 case WE_PLACE_DRAG: |
373 VpSelectTilesWithMethod(e->we.place.pt.x, e->we.place.pt.y, e->we.place.userdata); |
373 VpSelectTilesWithMethod(e->we.place.pt.x, e->we.place.pt.y, e->we.place.userdata); |
374 return; |
374 return; |
375 |
375 |
376 case WE_PLACE_MOUSEUP: |
376 case WE_PLACE_MOUSEUP: |
377 if (e->we.click.pt.x != -1) { |
377 if (e->we.place.pt.x != -1) { |
378 DoCommandP(e->we.place.tile, _tree_to_plant, e->we.place.starttile, NULL, |
378 DoCommandP(e->we.place.tile, _tree_to_plant, e->we.place.starttile, NULL, |
379 CMD_PLANT_TREE | CMD_AUTO | CMD_MSG(STR_2805_CAN_T_PLANT_TREE_HERE)); |
379 CMD_PLANT_TREE | CMD_AUTO | CMD_MSG(STR_2805_CAN_T_PLANT_TREE_HERE)); |
380 } |
380 } |
381 break; |
381 break; |
382 |
382 |