mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 17:07:40 +00:00
several features which actually were in 10.4p but not commited
This commit is contained in:
@@ -2,7 +2,7 @@ namespace hr { namespace irr {
|
||||
|
||||
bool on;
|
||||
|
||||
ld density = 6;
|
||||
ld density = 2;
|
||||
ld quality = .2;
|
||||
int place_attempts = 10;
|
||||
int rearrange_max_attempts = 50;
|
||||
@@ -416,7 +416,11 @@ bool step(int delta) {
|
||||
p1.spin.resize(N);
|
||||
for(int j=0; j<N; j++) {
|
||||
auto i1 = p1.neid[j];
|
||||
bool found = false;
|
||||
if(i1 < 0 || i1 >= isize(cells)) {
|
||||
runlevel = 0;
|
||||
return false;
|
||||
}
|
||||
bool found = false;
|
||||
for(int k=0; k < isize(cells[i1].vertices); k++)
|
||||
if(cells[i1].neid[k] == i)
|
||||
found = true, p1.spin[j] = k;
|
||||
|
Reference in New Issue
Block a user