1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-03 04:39:17 +00:00

Fix an apparent typo-bug in "inventory.cpp"

This commit is contained in:
Arthur O'Dwyer 2018-06-25 12:52:21 -07:00
parent 440940a945
commit 06f4ba16ed

View File

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