mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-04 21:04:02 +00:00
Merge pull request #42 from Quuxplusone/forwhich
Fix an apparent typo-bug in "inventory.cpp"
This commit is contained in:
commit
29f97227e0
@ -179,7 +179,7 @@ namespace hr { namespace inv {
|
|||||||
int qtl = items[forwhich];
|
int qtl = items[forwhich];
|
||||||
while(qtl > 0) qtl >>= 1, remaining[itOrbMirror]++;
|
while(qtl > 0) qtl >>= 1, remaining[itOrbMirror]++;
|
||||||
if(whichorbinfo == itOrbMirror)
|
if(whichorbinfo == itOrbMirror)
|
||||||
extra += extraline(forwhich, its(nextp2(items[which])));
|
extra += extraline(forwhich, its(nextp2(items[forwhich])));
|
||||||
}
|
}
|
||||||
|
|
||||||
vector<eItem> offensiveOrbs = {
|
vector<eItem> offensiveOrbs = {
|
||||||
@ -646,5 +646,3 @@ namespace hr { namespace inv {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user