mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Fix voice gender using server data and update loading screen UI
- Use authoritative playerRace/playerGender at spawn for voice profiles instead of unreliable model name parsing - Support nonbinary gender with useFemaleModel body type fallback - Move voice setup into spawnPlayerCharacter() for all spawn paths - Remove legacy single-player default Human Male clip preloading - Make loading screen text black and move progress bar to top
This commit is contained in:
parent
efc7e65dfc
commit
f2f6ffd2cd
5 changed files with 58 additions and 15 deletions
|
|
@ -2452,12 +2452,6 @@ void Renderer::update(float deltaTime) {
|
|||
}
|
||||
|
||||
characterRenderer->setInstancePosition(characterInstanceId, characterPosition);
|
||||
if (activitySoundManager) {
|
||||
std::string modelName;
|
||||
if (characterRenderer->getInstanceModelName(characterInstanceId, modelName)) {
|
||||
activitySoundManager->setCharacterVoiceProfile(modelName);
|
||||
}
|
||||
}
|
||||
|
||||
// Movement-facing comes from camera controller and is decoupled from LMB orbit.
|
||||
// During taxi flights, orientation is controlled by the flight path (not player input)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue