mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:49:05 +02:00
fix per review
This commit is contained in:
parent
9baf087c9a
commit
d796956a96
1 changed files with 3 additions and 1 deletions
|
@ -197,7 +197,9 @@ void Head::createMohawk() {
|
||||||
agentId = _owningAvatar->getOwningAgent()->getAgentID();
|
agentId = _owningAvatar->getOwningAgent()->getAgentID();
|
||||||
} else {
|
} else {
|
||||||
agentId = AgentList::getInstance()->getOwnerID();
|
agentId = AgentList::getInstance()->getOwnerID();
|
||||||
if (agentId == UNKNOWN_AGENT_ID) return;
|
if (agentId == UNKNOWN_AGENT_ID) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
srand(agentId);
|
srand(agentId);
|
||||||
float height = 0.08f + randFloat() * 0.05f;
|
float height = 0.08f + randFloat() * 0.05f;
|
||||||
|
|
Loading…
Reference in a new issue