fix gsc errors

This commit is contained in:
INeedBots 2021-01-22 21:25:49 -06:00
parent e7e13bffc0
commit 9d0bc09dee

View File

@ -1083,7 +1083,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);