mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Only set the effect angles from the supplied angles if the spawnthing doesn't have angle set
This commit is contained in:
parent
e4b2c863d8
commit
23f9c1a1e6
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ void ClientSpecialEffectsManager::ExecuteEffect(
|
||||||
current_tiki = NULL;
|
current_tiki = NULL;
|
||||||
|
|
||||||
pCommand->emitter->cgd.origin = vPos;
|
pCommand->emitter->cgd.origin = vPos;
|
||||||
if (pCommand->emitter->cgd.flags & T_ANGLES) {
|
if (!(pCommand->emitter->cgd.flags & T_ANGLES)) {
|
||||||
pCommand->emitter->cgd.angles = vAngles;
|
pCommand->emitter->cgd.angles = vAngles;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue