Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zergvszerg opened this issue Sep 8, 2021 · 0 comments

Comments

@zergvszerg
Copy link

zergvszerg commented Sep 8, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant