mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
arb::convert:: added more tests as the current sometimes did not work
This commit is contained in:
parent
b88ec8550e
commit
aeb93f7e3f
@ -1137,6 +1137,9 @@ EX void convert() {
|
|||||||
manual_celllister cl;
|
manual_celllister cl;
|
||||||
cl.add(currentmap->gamestart());
|
cl.add(currentmap->gamestart());
|
||||||
|
|
||||||
|
int more_tests = 1000;
|
||||||
|
pointer_indices.clear();
|
||||||
|
|
||||||
int chg = -1;
|
int chg = -1;
|
||||||
while(changes > chg) {
|
while(changes > chg) {
|
||||||
changes = chg;
|
changes = chg;
|
||||||
@ -1147,7 +1150,10 @@ EX void convert() {
|
|||||||
auto c = cl.lst[i];
|
auto c = cl.lst[i];
|
||||||
auto& id = get_identification(c);
|
auto& id = get_identification(c);
|
||||||
|
|
||||||
if(masters_analyzed.count(id.target)) continue;
|
if(masters_analyzed.count(id.target)) {
|
||||||
|
more_tests--;
|
||||||
|
if(more_tests < 0) continue;
|
||||||
|
}
|
||||||
masters_analyzed.insert(id.target);
|
masters_analyzed.insert(id.target);
|
||||||
|
|
||||||
cellwalker cw0(c, id.shift);
|
cellwalker cw0(c, id.shift);
|
||||||
|
Loading…
Reference in New Issue
Block a user