1
0
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:
Zeno Rogue
2017-08-18 02:47:49 +02:00
parent 0df6d78c0b
commit fef663e1b3
2 changed files with 42 additions and 13 deletions

View File

@@ -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;