1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-03 02:39:03 +00:00

further cleanup

This commit is contained in:
Zeno Rogue
2019-08-09 23:39:36 +02:00
parent 65c4e6a31c
commit a76a5dd265
12 changed files with 33 additions and 125 deletions

View File

@@ -128,7 +128,7 @@ int textwidth(int siz, const string &str) {
}
#endif
int darkenedby(int c, int lev) {
EX int darkenedby(int c, int lev) {
for(int i=0; i<lev; i++)
c = ((c & 0xFEFEFE) >> 1);
return c;