Merge pull request #42 from Quuxplusone/forwhich

Fix an apparent typo-bug in "inventory.cpp"
This commit is contained in:
Zeno Rogue 2018-06-26 00:51:55 +02:00 committed by GitHub
commit 29f97227e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -179,7 +179,7 @@ namespace hr { namespace inv {
int qtl = items[forwhich];
while(qtl > 0) qtl >>= 1, remaining[itOrbMirror]++;
if(whichorbinfo == itOrbMirror)
extra += extraline(forwhich, its(nextp2(items[which])));
extra += extraline(forwhich, its(nextp2(items[forwhich])));
}
vector<eItem> offensiveOrbs = {
@ -646,5 +646,3 @@ namespace hr { namespace inv {
}
}}