1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-18 22:55:12 +00:00

fixed the shape pattern for converted tilings

This commit is contained in:
Zeno Rogue
2024-05-28 13:04:24 +02:00
parent 3b3e9e2de6
commit fcc3cae938
3 changed files with 10 additions and 5 deletions

View File

@@ -1607,11 +1607,7 @@ EX namespace ccolor {
EX data shape = data("shape", always_available, CCO {
#if CAP_ARCM
if(arcm::in()) {
int id = arcm::id_of(c->master);
int tid = arcm::current.tilegroup[id];
int tid2 = arcm::current.tilegroup[id^1];
if(tid2 >= 0) tid = min(tid, tid2);
return cco.ctab[tid];
return cco.ctab[arcm::get_graphical_id(c)];
}
#endif
if(arb::in()) {