mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-28 02:50:34 +00:00
fixup to -seo CLI option
This commit is contained in:
parent
8e577bc2de
commit
ce72e55353
@ -977,8 +977,8 @@ geom3::eSpatialEmbedding embed_by_name(string ss) {
|
||||
bool numeric = true;
|
||||
for(char c: ss) if(c < '0' || c > '9') numeric = false;
|
||||
if(numeric) return eSpatialEmbedding(atoi(ss.c_str()));
|
||||
for(int i=0; i<isize(ginf); i++) if(appears(seo[i].first, ss)) return eSpatialEmbedding(i);
|
||||
for(int i=0; i<isize(ginf); i++) if(appears(seo[i].second, ss)) return eSpatialEmbedding(i);
|
||||
for(int i=0; i<isize(seo); i++) if(appears(seo[i].first, ss)) return eSpatialEmbedding(i);
|
||||
for(int i=0; i<isize(seo); i++) if(appears(seo[i].second, ss)) return eSpatialEmbedding(i);
|
||||
return seNone;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user