Codechange: Un-bitstuff group and autoreplace commands.
This commit is contained in:
@@ -1005,7 +1005,7 @@ public:
|
||||
}
|
||||
} else {
|
||||
/* Setting group livery */
|
||||
Command<CMD_SET_GROUP_LIVERY>::Post(0, this->sel, (widget == WID_SCL_PRI_COL_DROPDOWN ? 0 : 256) | (index << 16), {});
|
||||
Command<CMD_SET_GROUP_LIVERY>::Post(this->sel, widget == WID_SCL_PRI_COL_DROPDOWN, (Colours)index);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user