Modify function table so it matches gsc-tool
This commit is contained in:
parent
262016e631
commit
767e028f21
File diff suppressed because it is too large
Load Diff
@ -64,7 +64,7 @@ namespace scripting
|
||||
|
||||
if (index < 0x320)
|
||||
{
|
||||
return reinterpret_cast<script_function*>(game::base_address + function_table)[index];
|
||||
return reinterpret_cast<script_function*>(game::base_address + function_table)[index - 1];
|
||||
}
|
||||
|
||||
return reinterpret_cast<script_function*>(game::base_address + method_table)[index - 0x8000];
|
||||
|
Loading…
Reference in New Issue
Block a user