Skip to content

Commit

Permalink
Set aim VOB to non-focusable
Browse files Browse the repository at this point in the history
  • Loading branch information
szapp committed Apr 8, 2022
1 parent 870f64c commit 53bbd8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _work/data/Scripts/Content/GFA/_intern/aimVob.d
Expand Up @@ -155,6 +155,10 @@ func int GFA_SetupAimVob(var int posPtr) {

// Ignored by trace ray, no collision
vob.bitfield[0] = 3105;

// Set to non-focusable
var C_Item itm; itm = _^(vobPtr);
itm.flags = itm.flags | ITEM_NFOCUS;
};

// Update position and rotation
Expand Down

0 comments on commit 53bbd8f

Please sign in to comment.