fix(Crash): Fixed crashes in SP Missions. (#1285)
chore(hooking.hpp): Removed useless declarations.
This commit is contained in:
parent
9bc99e18cc
commit
a8133074ad
@ -132,10 +132,6 @@ namespace big
|
||||
static CGameScriptHandler* create_script_handler(CGameScriptHandlerMgr* this_, void* unk);
|
||||
static bool script_handler_is_networked(CGameScriptHandler* this_);
|
||||
static bool script_handler_dtor(CGameScriptHandler* this_, bool free_memory);
|
||||
static void set_script_as_networked(void*, rage::scrThread* thread, int instance_id);
|
||||
|
||||
static bool write_bitbuffer_gamer_handle(rage::datBitBuffer* buffer, rage::rlGamerHandle* handle);
|
||||
static bool read_bitbuffer_gamer_handle(rage::datBitBuffer* buffer, rage::rlGamerHandle* handle);
|
||||
|
||||
static int nt_query_virtual_memory(void* _this, HANDLE handle, PVOID base_addr, int info_class, MEMORY_BASIC_INFORMATION* info, int size, size_t* return_len);
|
||||
static void queue_dependency(void* dependency);
|
||||
|
@ -1,5 +1,6 @@
|
||||
#include "gta/script_handler.hpp"
|
||||
|
||||
#include "pointers.hpp"
|
||||
#include "hooking.hpp"
|
||||
|
||||
namespace big
|
||||
@ -29,7 +30,7 @@ namespace big
|
||||
|
||||
bool hooks::script_handler_is_networked(CGameScriptHandler* _this)
|
||||
{
|
||||
return true;
|
||||
return *g_pointers->m_gta.m_is_session_started;
|
||||
}
|
||||
|
||||
bool hooks::script_handler_dtor(CGameScriptHandler* _this, bool free_memory)
|
||||
|
Reference in New Issue
Block a user