mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 08:56:59 +00:00
fixed a crash bug with displaying hypersian rugs in the inventory
This commit is contained in:
parent
e27cd9b654
commit
475b223939
@ -161,6 +161,7 @@ int ctof(cell *c) {
|
|||||||
if(irr::on) return irr::ctof(c);
|
if(irr::on) return irr::ctof(c);
|
||||||
if(nonbitrunc && !gp::on) return 1;
|
if(nonbitrunc && !gp::on) return 1;
|
||||||
// if(euclid) return 0;
|
// if(euclid) return 0;
|
||||||
|
if(!c) return 1;
|
||||||
return ishept(c) ? 1 : 0;
|
return ishept(c) ? 1 : 0;
|
||||||
// c->type == 6 ? 0 : 1;
|
// c->type == 6 ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user