orbinfos is a vector now

This commit is contained in:
Zeno Rogue
2019-02-06 16:38:48 +01:00
parent 97c546db64
commit c56287ae38
3 changed files with 14 additions and 23 deletions
+1 -2
View File
@@ -214,8 +214,7 @@ namespace hr { namespace inv {
}
void gainGuestOrbs() {
for(int k=0; k<ORBLINES; k++) {
auto& oi = orbinfos[k];
for(auto& oi: orbinfos) {
if(oi.flags & orbgenflags::OSM_AT10) {
eItem it = treasureType(oi.l);
if(items[it] >= 10) {