Fix not returning a valid weaponID for cz75a (irc, r=KyleS)
This commit is contained in:
		
							parent
							
								
									d359e5eef3
								
							
						
					
					
						commit
						064aa83991
					
				@ -649,6 +649,10 @@ static cell_t CS_AliasToWeaponID(IPluginContext *pContext, const cell_t *params)
 | 
			
		||||
	{
 | 
			
		||||
		return SMCSWeapon_HKP2000;
 | 
			
		||||
	}
 | 
			
		||||
	else if(strstr(weapon, "cz75a") != NULL)
 | 
			
		||||
	{
 | 
			
		||||
		return SMCSWeapon_P250;
 | 
			
		||||
	}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
	int id = GetFakeWeaponID(AliasToWeaponID(weapon));
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user