mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 12:19:18 +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
|
#ifdef REPLACE_LETTERS
|
||||||
for(int i=0; i<isize(dialog::latin_letters); i++)
|
for(int j=0; j<isize(dialog::latin_letters_l); j++)
|
||||||
if(s[i] == dialog::foreign_letters[2*i] && s[i+1] == dialog::foreign_letters[2*i+1]) {
|
if(s[i] == dialog::foreign_letters[2*j] && s[i+1] == dialog::foreign_letters[2*j+1]) {
|
||||||
i += 2;
|
i += 2;
|
||||||
return int(dialog::latin_letters[i]);
|
return int(dialog::latin_letters_l[j]);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user