mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
the other part of the rename
This commit is contained in:
parent
5ff7941805
commit
76704e9daf
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ SND_GetCache (long samples, int rate, int inwidth, int channels,
|
|||
sc->speed = rate;
|
||||
sc->width = inwidth;
|
||||
sc->stereo = channels;
|
||||
sc->size = size;
|
||||
sc->bytes = size;
|
||||
memcpy (sc->data + size, "\xde\xad\xbe\xef", 4);
|
||||
return sc;
|
||||
}
|
||||
|
@ -174,7 +174,7 @@ SND_ResampleSfx (sfxcache_t *sc, byte * data)
|
|||
sc->length = outcount;
|
||||
if (sc->loopstart != -1)
|
||||
sc->loopstart = sc->loopstart / stepscale;
|
||||
if (memcmp (sc->data + sc->size, "\xde\xad\xbe\xef", 4))
|
||||
if (memcmp (sc->data + sc->bytes, "\xde\xad\xbe\xef", 4))
|
||||
Sys_Error ("SND_ResampleSfx screwed the pooch");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue