1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

fixed a crash bug with displaying hypersian rugs in the inventory

This commit is contained in:
Zeno Rogue 2018-07-30 17:47:25 +02:00
parent e27cd9b654
commit 475b223939

View File

@ -161,6 +161,7 @@ int ctof(cell *c) {
if(irr::on) return irr::ctof(c);
if(nonbitrunc && !gp::on) return 1;
// if(euclid) return 0;
if(!c) return 1;
return ishept(c) ? 1 : 0;
// c->type == 6 ? 0 : 1;
}