mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 09:57:41 +00:00
Filtering by keyboard in the World Overview screen
This commit is contained in:
@@ -409,6 +409,7 @@ namespace mapeditor {
|
||||
char tt = 0;
|
||||
if(c >= 'a' && c <= 'z') tt += c - 32;
|
||||
else if(c >= 'A' && c <= 'Z') tt += c;
|
||||
else if(c == '@') tt += c;
|
||||
if(tt) t += tt;
|
||||
}
|
||||
return t.find(infix) != string::npos;
|
||||
|
Reference in New Issue
Block a user