spelling mistake
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40857
This commit is contained in:
		
							parent
							
								
									6dc9c923f4
								
							
						
					
					
						commit
						942c3acd8e
					
				@ -128,7 +128,7 @@ static cell_t sm_SquareRoot(IPluginContext *pCtx, const cell_t *params)
 | 
			
		||||
	return sp_ftoc(sqrt(val));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static cell_t sm_RountToNearest(IPluginContext *pCtx, const cell_t *params)
 | 
			
		||||
static cell_t sm_RoundToNearest(IPluginContext *pCtx, const cell_t *params)
 | 
			
		||||
{
 | 
			
		||||
	float val = sp_ctof(params[1]);
 | 
			
		||||
	val = (float)floor(val + 0.5f);
 | 
			
		||||
@ -277,7 +277,7 @@ REGISTER_NATIVES(floatnatives)
 | 
			
		||||
	{"RoundToZero",		sm_RoundToZero},
 | 
			
		||||
	{"RoundToCeil",		sm_RoundToCeil},
 | 
			
		||||
	{"RoundToFloor",	sm_RoundToFloor},
 | 
			
		||||
	{"RountToNearest",	sm_RountToNearest},
 | 
			
		||||
	{"RoundToNearest",	sm_RoundToNearest},
 | 
			
		||||
	{"FloatCompare",	sm_FloatCompare},
 | 
			
		||||
	{"SquareRoot",		sm_SquareRoot},
 | 
			
		||||
	{"Pow",				sm_Pow},
 | 
			
		||||
 | 
			
		||||
@ -100,7 +100,7 @@ native RoundToFloor(Float:value);
 | 
			
		||||
 * @param value			Input value to be rounded.
 | 
			
		||||
 * @return				Rounded value.
 | 
			
		||||
 */
 | 
			
		||||
native RountToNearest(Float:value);
 | 
			
		||||
native RoundToNearest(Float:value);
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Compares two floats.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user