mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Rename function to better express the intention behind it.
This commit is contained in:
parent
863948eb2e
commit
48686bd937
@ -51,7 +51,7 @@ static SQInteger SqGetEvents(HSQUIRRELVM vm)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
static SQInteger SqEnableNullEntities(HSQUIRRELVM vm)
|
static SQInteger SqForceEnableNullEntities(HSQUIRRELVM vm)
|
||||||
{
|
{
|
||||||
Core::Get().EnableNullEntities();
|
Core::Get().EnableNullEntities();
|
||||||
return 0;
|
return 0;
|
||||||
@ -358,7 +358,7 @@ void Register_Core(HSQUIRRELVM vm)
|
|||||||
.Func(_SC("OnPreLoad"), &SqGetPreLoadEvent)
|
.Func(_SC("OnPreLoad"), &SqGetPreLoadEvent)
|
||||||
.Func(_SC("OnPostLoad"), &SqGetPostLoadEvent)
|
.Func(_SC("OnPostLoad"), &SqGetPostLoadEvent)
|
||||||
.Func(_SC("OnUnload"), &SqGetUnloadEvent)
|
.Func(_SC("OnUnload"), &SqGetUnloadEvent)
|
||||||
.SquirrelFunc(_SC("EnableNullEntities"), &SqEnableNullEntities)
|
.SquirrelFunc(_SC("ForceEnableNullEntities"), &SqForceEnableNullEntities)
|
||||||
.SquirrelFunc(_SC("LoadScript"), &SqLoadScript)
|
.SquirrelFunc(_SC("LoadScript"), &SqLoadScript)
|
||||||
.SquirrelFunc(_SC("On"), &SqGetEvents);
|
.SquirrelFunc(_SC("On"), &SqGetEvents);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user