Commit 11b300d
authored
feat: Change BindObject call from ObjectBindPolicy to VirtualMachine
BindObject is required to return a TESForm from a native Papyrus function. However, its version in ObjectBindPolicy is not functional because its REL::ID is 0 (probably inlined). According to my tests, VirtualMachine->BindObject (a virtual function) works just fine and can be a replacement.1 parent c3c7e12 commit 11b300d
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| 505 | + | |
505 | 506 | | |
506 | 507 | | |
507 | 508 | | |
| 509 | + | |
508 | 510 | | |
509 | 511 | | |
510 | 512 | | |
| |||
522 | 524 | | |
523 | 525 | | |
524 | 526 | | |
525 | | - | |
526 | | - | |
| 527 | + | |
527 | 528 | | |
528 | 529 | | |
529 | 530 | | |
| |||
0 commit comments