ref: 769b385cf676ffc4d226fdb13b3591dd06be8d06
parent: 80abfe655d55ec658ba581dfbc2ea33290e1ee94
author: Jonathan Dowland <jon+github@alcopop.org>
date: Tue Jun 23 14:18:14 EDT 2015
Minor whitespace fix-ups
--- a/src/i_sdlsound.c
+++ b/src/i_sdlsound.c
@@ -279,7 +279,7 @@
//printf("-- %s: Use count=%i\n", snd->sfxinfo->name, snd->use_count);
}
-// When a sound stops, check if it is still playing. If it is not,
+// When a sound stops, check if it is still playing. If it is not,
// we can mark the sound data as CACHE to be freed back for other
// means.
--- a/src/i_sound.h
+++ b/src/i_sound.h
@@ -32,7 +32,7 @@
{
// tag name, used for hexen.
char *tagname;
-
+
// lump name. If we are running with use_sfx_prefix=true, a
// 'DS' (or 'DP' for PC speaker sounds) is prepended to this.
@@ -56,7 +56,7 @@
int usefulness;
// lump number of sfx
- int lumpnum;
+ int lumpnum;
// Maximum number of channels that the sound can be played on
// (Heretic)
--- a/src/strife/s_sound.c
+++ b/src/strife/s_sound.c
@@ -454,7 +454,7 @@
if (origin->x == players[consoleplayer].mo->x
&& origin->y == players[consoleplayer].mo->y)
- {
+ {
sep = NORM_SEP;
}
@@ -462,7 +462,7 @@
{
return;
}
- }
+ }
else
{
sep = NORM_SEP;
@@ -615,7 +615,7 @@
// get a channel for the voice
i_voicehandle = S_GetChannel(NULL, &voice->sfx, true);
-
+
channels[i_voicehandle].handle
= I_StartSound(&voice->sfx, i_voicehandle, snd_VoiceVolume, NORM_SEP);
}
@@ -693,7 +693,7 @@
c->origin,
&volume,
&sep);
-
+
if (!audible)
{
S_StopChannel(cnum);