mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-29 14:17:57 +03:00
Fix angles not being set correctly from the base
This commit is contained in:
parent
ae16994289
commit
e4b2c863d8
1 changed files with 1 additions and 1 deletions
|
@ -1463,7 +1463,7 @@ void ClientGameCommandManager::SpawnTempModel(int mcount)
|
||||||
p->cgd.avelocity[i] = m_spawnthing->avelocity_amplitude[i] * random() + m_spawnthing->avelocity_base[i];
|
p->cgd.avelocity[i] = m_spawnthing->avelocity_amplitude[i] * random() + m_spawnthing->avelocity_base[i];
|
||||||
|
|
||||||
// Randomize angles or set absolute
|
// Randomize angles or set absolute
|
||||||
p->cgd.angles[i] += random() * m_spawnthing->angles_amplitude[i];
|
p->cgd.angles[i] = m_spawnthing->angles_amplitude[i] * random() + m_spawnthing->cgd.angles[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
// If forward velocity is set, just use that otherwise use random
|
// If forward velocity is set, just use that otherwise use random
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue