GUI: order increase key oversight
This commit is contained in:
parent
4bfda2242f
commit
9fc3a8afed
|
@ -1450,7 +1450,7 @@ void FurnaceGUI::doAction(int what) {
|
||||||
}
|
}
|
||||||
case GUI_ACTION_ORDERS_INCREASE: {
|
case GUI_ACTION_ORDERS_INCREASE: {
|
||||||
if (orderCursor<0 || orderCursor>=e->getTotalChannelCount()) break;
|
if (orderCursor<0 || orderCursor>=e->getTotalChannelCount()) break;
|
||||||
if (e->curOrders->ord[orderCursor][curOrder]<0x7f) {
|
if (e->curOrders->ord[orderCursor][curOrder]<0xff) {
|
||||||
e->curOrders->ord[orderCursor][curOrder]++;
|
e->curOrders->ord[orderCursor][curOrder]++;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue