mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-22 23:17:04 +00:00
fixed REPLACE_LETTERS
This commit is contained in:
parent
3bf17c12f7
commit
d57a3fcaa3
@ -115,11 +115,10 @@ EX int getnext(const char* s, int& i) {
|
||||
}
|
||||
|
||||
#ifdef REPLACE_LETTERS
|
||||
for(int i=0; i<isize(dialog::latin_letters); i++)
|
||||
if(s[i] == dialog::foreign_letters[2*i] && s[i+1] == dialog::foreign_letters[2*i+1]) {
|
||||
for(int j=0; j<isize(dialog::latin_letters_l); j++)
|
||||
if(s[i] == dialog::foreign_letters[2*j] && s[i+1] == dialog::foreign_letters[2*j+1]) {
|
||||
i += 2;
|
||||
return int(dialog::latin_letters[i]);
|
||||
break;
|
||||
return int(dialog::latin_letters_l[j]);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user