1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 19:10:35 +00:00

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

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 {
}
}}