1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 02:17:40 +00:00

fixed some potential issues with arb

This commit is contained in:
Zeno Rogue
2020-08-02 13:01:55 +02:00
parent 6c96349714
commit 554567e0cf
3 changed files with 4 additions and 3 deletions

View File

@@ -383,6 +383,7 @@ EX pair<int, bool> fieldval(cell *c) {
EX int fieldval_uniq(cell *c) {
if(fake::in()) return FPIU(fieldval_uniq(c));
if(experimental) return 0;
else if(arb::in()) return arb::id_of(c->master);
else if(hybri) {
auto c1 = hybrid::get_where(c).first;
return PIU ( fieldval_uniq(c1) );