1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

binary:: fixed incorrectly computed use_direct

This commit is contained in:
Zeno Rogue 2019-07-25 12:10:06 +02:00
parent dd5d317cb3
commit d6c53f933f

View File

@ -480,7 +480,7 @@ namespace binary {
void build_tmatrix() {
if(among(geometry, gBinaryTiling, gSol)) return; // unused
use_direct = (1 << S7) - 1;
use_direct = (1 << (S7-1)) - 1;
if(geometry == gBinary4) {
use_direct = 3;
direct_tmatrix[0] = xpush(-log(2)) * parabolic(-0.5);