diff --git a/orbgen.cpp b/orbgen.cpp index bdf6b4b7..b2f7fdb3 100644 --- a/orbgen.cpp +++ b/orbgen.cpp @@ -212,7 +212,7 @@ eOrbLandRelation getOLR(eItem it, eLand l) { if(nativeOrbType(l) == it) return olrNative; for(const orbinfo& oi: orbinfos) - if(oi.flags && orbgenflags::GUEST && oi.l == l && oi.orb == it) + if((oi.flags & orbgenflags::GUEST) && oi.l == l && oi.orb == it) return olrGuest; if(it == itOrbLuck && l == laIvoryTower)