Skip to content

GetREFRs() requires integer for the c library yet provied a filename #8

@zergvszerg

Description

@zergvszerg

when called from

records: filesToPatch => {

// loads all REFRs that place Weapons records: 
records: filesToPatch => { 
let records = filesToPatch.map(f => { return xelib.GetREFRs(f, 'WEAP'); });
 return Array.prototype.concat.apply([], records); },

it pass a filename as argument 0, yet in xelib.GetREFRs() the argument 0 is passed on to the dll which requires a integer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions