mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-20 18:37:02 +00:00
fixed arcm colors for mirrorless
This commit is contained in:
parent
5a9e7e4069
commit
bef884c9dc
@ -1792,8 +1792,12 @@ EX namespace patterns {
|
||||
case 'A':
|
||||
#if CAP_ARCM
|
||||
if(arcm::in()) {
|
||||
int id = arcm::current.tilegroup[arcm::id_of(c->master)];
|
||||
return colortables[(id&1) ? 'M' : 'A'][id/2];
|
||||
int id = arcm::id_of(c->master);
|
||||
int tid = arcm::current.tilegroup[id];
|
||||
int tid2 = arcm::current.tilegroup[id^1];
|
||||
bool mirrored = (id&1) && (tid != tid2);
|
||||
if(tid2 >= 0) tid = min(tid, tid2);
|
||||
return colortables[mirrored ? 'M' : 'A'][tid];
|
||||
}
|
||||
#endif
|
||||
if(arb::in()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user