mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-27 16:18:46 +02:00
repair for wrong body on bots < 20
This commit is contained in:
parent
98d9e443eb
commit
88b46acdeb
1 changed files with 1 additions and 3 deletions
|
@ -72,12 +72,10 @@ Avatar.position = firstPosition;
|
||||||
// pick an integer between 1 and 20 for the face model for this bot
|
// pick an integer between 1 and 20 for the face model for this bot
|
||||||
botNumber = getRandomInt(1, 100);
|
botNumber = getRandomInt(1, 100);
|
||||||
|
|
||||||
newBodyFilePrefix = "defaultAvatar";
|
|
||||||
|
|
||||||
if (botNumber <= 20) {
|
if (botNumber <= 20) {
|
||||||
newFaceFilePrefix = "bot" + botNumber;
|
newFaceFilePrefix = "bot" + botNumber;
|
||||||
|
newBodyFilePrefix = "defaultAvatar_body"
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (botNumber <= 40) {
|
if (botNumber <= 40) {
|
||||||
newFaceFilePrefix = "superhero";
|
newFaceFilePrefix = "superhero";
|
||||||
} else if (botNumber <= 60) {
|
} else if (botNumber <= 60) {
|
||||||
|
|
Loading…
Reference in a new issue