fix rare crash bug in SDKTools GetGameRulesProxyEnt
This commit is contained in:
		
							parent
							
								
									bd296a27f8
								
							
						
					
					
						commit
						a776c14cf8
					
				@ -53,6 +53,10 @@ static CBaseEntity *FindEntityByNetClass(int start, const char *classname)
 | 
			
		||||
		if (network == NULL)
 | 
			
		||||
			continue;
 | 
			
		||||
 | 
			
		||||
		IHandleEntity *pHandleEnt = network->GetEntityHandle();
 | 
			
		||||
		if (pHandleEnt == NULL)
 | 
			
		||||
			continue;
 | 
			
		||||
 | 
			
		||||
		ServerClass *sClass = network->GetServerClass();
 | 
			
		||||
		const char *name = sClass->GetName();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user