mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
yet another fix for mapster32 sound
git-svn-id: https://svn.eduke32.com/eduke32@1259 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
59e2177364
commit
e5928081f5
1 changed files with 6 additions and 4 deletions
|
@ -1895,7 +1895,7 @@ static void SoundDisplay()
|
|||
printmessage16(" FILE NAME PITCH RANGE PRI FLAGS VOLUME");
|
||||
for (i=0; j=cursnd+i, i<SOUND_NUMDISPLINES && j<g_numsounds; i++)
|
||||
{
|
||||
int32_t l, k=g_sndnum[j];
|
||||
int32_t l, m, k=g_sndnum[j];
|
||||
sound_t *snd=&g_sounds[k];
|
||||
char *cp;
|
||||
|
||||
|
@ -1913,9 +1913,11 @@ static void SoundDisplay()
|
|||
if (l<=16)
|
||||
cp = snd->filename;
|
||||
else
|
||||
cp = snd->filename + l-16;
|
||||
for (l = Bsnprintf(disptext[i]+26, 16, cp); l<16; l++)
|
||||
disptext[i][26+l] = ' ';
|
||||
cp = snd->filename + l-15;
|
||||
for (m = Bsnprintf(disptext[i]+26, 16, cp); m<16; m++)
|
||||
disptext[i][26+m] = ' ';
|
||||
if (l>16)
|
||||
disptext[i][26] = disptext[i][27] = disptext[i][28] = '.';
|
||||
}
|
||||
|
||||
printext16(8, ydim-overridepm16y+28+i*9,
|
||||
|
|
Loading…
Reference in a new issue