mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-19 17:32:54 +00:00
fix
This commit is contained in:
parent
0c67e1f21e
commit
c1e55c4c29
@ -1031,7 +1031,14 @@ aim()
|
|||||||
{
|
{
|
||||||
if(isplay)
|
if(isplay)
|
||||||
{
|
{
|
||||||
|
if (!target IsPlayerModelOK())
|
||||||
|
continue;
|
||||||
|
|
||||||
aimpos = target getTagOrigin( bone );
|
aimpos = target getTagOrigin( bone );
|
||||||
|
|
||||||
|
if (!isDefined(aimpos))
|
||||||
|
continue;
|
||||||
|
|
||||||
aimpos += offset;
|
aimpos += offset;
|
||||||
aimpos += aimoffset;
|
aimpos += aimoffset;
|
||||||
aimpos += (0, 0, nadeAimOffset);
|
aimpos += (0, 0, nadeAimOffset);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user