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:
tildearrow 2025-11-07 05:02:59 -05:00
parent 78cb4b4afd
commit e11cde755c
3 changed files with 23 additions and 4 deletions

View file

@ -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;
}