repair for wrong body on bots < 20

This commit is contained in:
Stephen Birarda 2014-02-26 16:17:51 -08:00
parent 98d9e443eb
commit 88b46acdeb

View file

@ -72,12 +72,10 @@ Avatar.position = firstPosition;
// pick an integer between 1 and 20 for the face model for this bot
botNumber = getRandomInt(1, 100);
newBodyFilePrefix = "defaultAvatar";
if (botNumber <= 20) {
newFaceFilePrefix = "bot" + botNumber;
newBodyFilePrefix = "defaultAvatar_body"
} else {
if (botNumber <= 40) {
newFaceFilePrefix = "superhero";
} else if (botNumber <= 60) {