Update function tables

This commit is contained in:
Federico Cecchetto 2021-12-28 21:47:10 +01:00
parent 2c03916d42
commit 90d7c22c4d
2 changed files with 1762 additions and 1758 deletions

File diff suppressed because it is too large Load Diff

View File

@ -64,7 +64,7 @@ namespace scripting
if (index < 0x320)
{
return reinterpret_cast<script_function*>(game::base_address + function_table)[index - 1];
return reinterpret_cast<script_function*>(game::base_address + function_table)[index];
}
return reinterpret_cast<script_function*>(game::base_address + method_table)[index - 0x8000];