MCPcopy Create free account
hub / github.com/JACoders/OpenJK / AS_SkipLine

Function AS_SkipLine

code/client/snd_ambient.cpp:257–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255*/
256
257static void AS_SkipLine( void )
258{
259 if ( parsePos > parseSize ) // needed to avoid a crash because of some OOR access that shouldn't be done
260 return;
261
262 while ( (parseBuffer[parsePos] != '\n') && (parseBuffer[parsePos] != '\r') )
263 {
264 parsePos++;
265
266 if ( parsePos > parseSize )
267 return;
268 }
269
270 parsePos++;
271}
272
273/*
274-------------------------

Callers 7

AS_GetTimeBetweenWavesFunction · 0.70
AS_GetSubWavesFunction · 0.70
AS_GetLoopedWaveFunction · 0.70
AS_GetVolumeRangeFunction · 0.70
AS_GetRadiusFunction · 0.70
AS_ParseSetFunction · 0.70
AS_ParseHeaderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected