mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-08-12 10:08:51 +00:00
embeddings:: force_rvgraph should no longer crash on extra vdata
This commit is contained in:
@@ -79,7 +79,7 @@ void write_edgelist(const string &fname) {
|
||||
}
|
||||
|
||||
void force_rvgraph() {
|
||||
for(auto& v: vdata) {
|
||||
for(auto& v: vdata) if(v.id < isize(directed_edges)) {
|
||||
auto p = current->as_location(v.id);
|
||||
v.be(p.first, rgpushxto0(p.second));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user