diff --git a/src/pc/djui/djui_font.c b/src/pc/djui/djui_font.c index 00efe979..bc96207b 100644 --- a/src/pc/djui/djui_font.c +++ b/src/pc/djui/djui_font.c @@ -43,7 +43,11 @@ static void djui_font_title_render_char(char* c) { if (*c == ' ') { return; } u32 index = djui_unicode_get_sprite_index(c); - if ((u8)*c < '!' || (u8)*c > '~' + 1) { index = djui_unicode_get_sprite_index("?"); } + if ((u8)*c < '!' || (u8)*c > '~' + 1) { + char tmp[2] = { 0 }; + tmp[0] = djui_unicode_get_base_char(c); + index = djui_unicode_get_sprite_index(tmp); + } u32 tx = index % 16; u32 ty = index / 16; diff --git a/src/pc/network/network_player.c b/src/pc/network/network_player.c index 984e606c..4203016d 100644 --- a/src/pc/network/network_player.c +++ b/src/pc/network/network_player.c @@ -226,6 +226,7 @@ void network_player_update(void) { if (elapsed > NETWORK_PLAYER_PING_TIMEOUT) { network_send_ping(np); } + //LOG_INFO("Ping %s: %u", np->name, np->ping / 2); } if (gNetworkType == NT_SERVER) {