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:
parent
dd5d317cb3
commit
d6c53f933f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user