From 64450087ea3b737f74798cd9c0ce8b0abca37918 Mon Sep 17 00:00:00 2001 From: BobTheBob9 Date: Fri, 21 Oct 2022 00:22:59 +0100 Subject: fix up formatting --- NorthstarDLL/squirrel.cpp | 1 - NorthstarDLL/squirrel.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/NorthstarDLL/squirrel.cpp b/NorthstarDLL/squirrel.cpp index d130aed7..be0dceeb 100644 --- a/NorthstarDLL/squirrel.cpp +++ b/NorthstarDLL/squirrel.cpp @@ -512,7 +512,6 @@ ON_DLL_LOAD_RELIESON("client.dll", ClientSquirrel, ConCommand, (CModule module)) g_pSquirrel->__sq_GetEntityConstant_CBaseEntity; g_pSquirrel->__sq_getentityfrominstance = g_pSquirrel->__sq_getentityfrominstance; - MAKEHOOK( module.Offset(0x108E0), &RegisterSquirrelFunctionHook, diff --git a/NorthstarDLL/squirrel.h b/NorthstarDLL/squirrel.h index bc738428..a3a214de 100644 --- a/NorthstarDLL/squirrel.h +++ b/NorthstarDLL/squirrel.h @@ -335,7 +335,7 @@ template class SquirrelManager __sq_getobject(sqvm, iStackPos, &obj); // there are entity constants for other types, but seemingly CBaseEntity's is the only one needed - return (T*) __sq_getentityfrominstance(m_pSQVM, &obj, __sq_GetEntityConstant_CBaseEntity()); + return (T*)__sq_getentityfrominstance(m_pSQVM, &obj, __sq_GetEntityConstant_CBaseEntity()); } #pragma endregion }; -- cgit v1.2.3