fix waila crash
This commit is contained in:
		
							parent
							
								
									488d6251a1
								
							
						
					
					
						commit
						1bc1880bd3
					
				| @ -1158,6 +1158,7 @@ stock void WAILA(int client, int iEntity) | |||||||
| 	GetEntityClassname(iEntity, sClsName, sizeof(sClsName)); | 	GetEntityClassname(iEntity, sClsName, sizeof(sClsName)); | ||||||
| 	GetEntityNetClass(iEntity, sNetClsName, sizeof(sNetClsName)); | 	GetEntityNetClass(iEntity, sNetClsName, sizeof(sNetClsName)); | ||||||
| 	GetEntPropString(iEntity, Prop_Data, "m_iName", sTargetname, sizeof(sTargetname)); | 	GetEntPropString(iEntity, Prop_Data, "m_iName", sTargetname, sizeof(sTargetname)); | ||||||
|  | 	if(HasEntProp(iEntity, Prop_Send, "m_vecOrigin")) | ||||||
| 		GetEntPropVector(iEntity, Prop_Send, "m_vecOrigin", fvecOrigin); | 		GetEntPropVector(iEntity, Prop_Send, "m_vecOrigin", fvecOrigin); | ||||||
| 	if(HasEntProp(iEntity, Prop_Send, "m_nModelIndex")) | 	if(HasEntProp(iEntity, Prop_Send, "m_nModelIndex")) | ||||||
| 		iEntityModelIdx = GetEntProp(iEntity, Prop_Send, "m_nModelIndex"); | 		iEntityModelIdx = GetEntProp(iEntity, Prop_Send, "m_nModelIndex"); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user