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

This commit is contained in:
pieeebot committed 2026-09-13 14:10:24 +01:00
1 parent 0405a47bd1
commit a2dad85bb1
16 files changed
+781 -296

No files matched your search

+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;