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