chore/fix: clean up NetworkSocketLayer, fix console compile errors

This commit is contained in:
2026-09-13 14:10:24 +01:00
parent 0405a47bd1
commit a2dad85bb1
16 changed files with 781 additions and 296 deletions
+1 -1
View File
@@ -561,7 +561,7 @@ void LivingEntityRenderer::renderNameTag(shared_ptr<LivingEntity> mob, const wst
playerName=name;
break;
case Player::ePlayerNameValid_False:
memset(wchName,0,sizeof(wchName)d);
memset(wchName,0,sizeof(wchName));
swprintf(wchName, 2, L"%d",player->getPlayerIndex()+1);
playerName=wchName;
break;