mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 16:13:28 +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();
|
||||
} else {
|
||||
agentId = AgentList::getInstance()->getOwnerID();
|
||||
if (agentId == UNKNOWN_AGENT_ID) return;
|
||||
if (agentId == UNKNOWN_AGENT_ID) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
srand(agentId);
|
||||
float height = 0.08f + randFloat() * 0.05f;
|
||||
|
|
Loading…
Reference in a new issue