GUI: fix a couple pattern refactor bugs
effect description in status bar *still* being wrong randomize resulting in invalid notes
This commit is contained in:
parent
78cb4b4afd
commit
e11cde755c
3 changed files with 23 additions and 4 deletions
|
|
@ -5001,7 +5001,7 @@ bool FurnaceGUI::loop() {
|
|||
break;
|
||||
default: // effect
|
||||
if (cursor.xFine<DIV_MAX_COLS) {
|
||||
if (p->newData[cursor.y][cursor.xFine]>-1) {
|
||||
if (p->newData[cursor.y][(cursor.xFine-1)|1]>-1) {
|
||||
info=e->getEffectDesc(p->newData[cursor.y][(cursor.xFine-1)|1],cursor.xCoarse,true);
|
||||
hasInfo=true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue