Logfile + scripting

This commit is contained in:
Federico Cecchetto
2022-05-24 21:55:53 +02:00
parent a1d2252f6c
commit a88f117c6e
9 changed files with 83 additions and 134 deletions

View File

@ -59,10 +59,10 @@ namespace scripting
script_function get_function_by_index(const unsigned index)
{
static const auto function_table = SELECT_VALUE(0x14B1D1B90, 0xAC85070_b);
static const auto function_table = SELECT_VALUE(0x14B1D1B90, 0xAC83820_b);
static const auto method_table = SELECT_VALUE(0x14B1D33A0, 0xAC85070_b);
if (index < 0x301)
if (index < 0x30A)
{
return reinterpret_cast<script_function*>(function_table)[index - 1];
}