mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
fixed primes in connection_debugger
This commit is contained in:
parent
cef94da632
commit
2333537f11
@ -377,7 +377,7 @@ void connection_debugger() {
|
|||||||
int N = isize(sh.edges);
|
int N = isize(sh.edges);
|
||||||
for(int k=0; k<N; k++) {
|
for(int k=0; k<N; k++) {
|
||||||
auto con = sh.connections[k];
|
auto con = sh.connections[k];
|
||||||
string cap = its(k) + primes(last.second) + " -> " + its(get<0>(con)) + primes(get<1>(con)) + (get<2>(con) ? " (m) " : "");
|
string cap = its(k) + primes(last.second) + " -> " + its(get<1>(con)) + primes(get<0>(con)) + (get<2>(con) ? " (m) " : "");
|
||||||
dialog::addSelItem(cap, "go", '0' + k);
|
dialog::addSelItem(cap, "go", '0' + k);
|
||||||
|
|
||||||
dialog::add_action([k, last, &sh, con] {
|
dialog::add_action([k, last, &sh, con] {
|
||||||
|
Loading…
Reference in New Issue
Block a user